Skip to content

Commit 53f94e5

Browse files
committed
Update categories and content for typo
1 parent fad5469 commit 53f94e5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

content/blog/authors/amandayclee/contents.lr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
username: amandaycelee
22
---
3-
name: Yi Chien Lee
3+
name: Amanda Lee
44
---
55
md5_hashed_email: e259595bca0de9b89681541579f1e558
66
---
77
about:
88

9-
Yi Chien worked on [Create Local Ansible Dev Environment Using Docker][repository] as a developer for [Google
9+
Amanda worked on [Create Local Ansible Dev Environment Using Docker][repository] as a developer for [Google
1010
Summer of Code (GSoC) 2024](/programs/history/). She is `@amandayclee` on CC Slack and [amandayclee][amandayclee] on Github.
1111

1212
[repository]: https://github.com/creativecommons/ansible-dev

content/blog/entries/2024-07-19-create-local-ansible-dev-env/contents.lr

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
title: GSoC 2024 Midterm Review: Local Environment Creation using Ansible and Docker
1+
title: Local Environment Creation using Ansible and Docker
22
---
33
categories:
44
gsoc-2024
55
gsoc
6-
devops
7-
ansible
8-
docker
96
open-source
107
community
118
---
@@ -17,9 +14,11 @@ pub_date: 2024-07-18
1714
---
1815
body:
1916

20-
This project explores how Creative Commons(CC)ment. It is part of Google Summer of Code (GSoC) 2024.
17+
This project explores how Creative Commons
18+
(CC) uses Ansible, an automated system administration tool, to build a local development environment. It is part of Google Summer of Code (GSoC) 2024.
19+
2120
<div style="text-align: center;">
22-
<img src="gsoc-banner.png" alt="GSoC 2024" style="max-height: 150px;">
21+
<img src="gsoc-banner.png" alt="GSoC 2024" style="max-height: 200px;">
2322
</div>
2423

2524
# Project Objective
@@ -32,14 +31,15 @@ This project explores how Creative Commons(CC)ment. It is part of Google Summer
3231
Before this project, I didn't have exposure to professional DevOps practices, so this project has been a significant learning experience for me. It focuses on the deployment phase of the DevOps lifecycle, particularly provisioning (setting up servers) and configuration management (managing software and settings). During our early stage exploration, we performed manual provisioning and concentrated on utilizing Ansible for configuration management. Our primary goal is to containerize existing applications, packaging them with their dependencies into Docker containers. Ansible itself operates within a container and manages other containers via SSH.
3332

3433
![Server Structure](server-structure.png)
34+
*This architecture diagram is designed by my mentor and project lead [Shafiya][Shafiya].*
3535

3636
### Week-by-Week Progress
3737

3838
I began by following the [Docker][Docker] and [Ansible][Ansible] setup guides from the official documentation to successfully deploy an initial `ansible` container in [Creating Initial Structure for Ansible][PR#9]. This step was crucial for gaining a foundational understanding of Ansible's basic functionality and setup within a containerized environment.
3939

4040
In the second week, I separated the existing [`index-dev`][index-dev] repository, which is the local development environment for current CreativeCommons.org, into individual containers for the `web` server and `database` server in [Setting Up Ansible Environment and Hosts][PR#11]. At the same time, I started investigating the setup of a [Bastion server][Bastion] and its integration into our system, aiming to enforce a security-focused approach for controlling access to a private network.
4141

42-
In the third week, I established SSH access between the local machine and `web`, `database`, and `ansible` servers with my mentor [Shafiya][Shafiya]'s guidance in [Setting Up SSH For `web` and `database` and Integrate with `ansible`][PR#12]. This step was crucial for enabling secure, automated management of the containers from the Ansible container. One important lesson I learned from Shafiya is to build things from scratch, making frequent commits that document your thought process, rather than trying to put everything together at once and complicating matters.
42+
In the third week, I established SSH access between the local machine and `web`, `database`, and `ansible` servers with my mentor Shafiya's guidance in [Setting Up SSH For `web` and `database` and Integrate with `ansible`][PR#12]. This step was crucial for enabling secure, automated management of the containers from the Ansible container. One important lesson I learned from Shafiya is to build things from scratch, making frequent commits that document your thought process, rather than trying to put everything together at once and complicating matters.
4343

4444

4545
In the fourth week, I started writing Ansible playbooks and moved several configurations originally located in the `web` Dockerfile to the playbook. Combining Dockerfiles and Ansible playbooks is a common best practice: **Dockerfiles are responsible for building the base image, including the OS and basic tools, while Ansible playbooks handle the application and service configurations.** However, this part took longer than expected, so we had to extend the work for one more week. Looking back, it was likely because I had no previous experience in developing using LAMP (Linux, Apache, MySQL, PHP) stack, and didn't know how to properly configure each component, which prevented me from successfully launching the services. As a result, I had to review the `index-dev` repo and what Shafiya and I did in the previous week, and finally got the service to start up correctly in [Creating A Playbook to Configure Wordpress Over Apache2][PR#13].

0 commit comments

Comments
 (0)