Week 7 Worklog

Week 7 Objectives:

  • Containerization: Master the containerization of applications using Docker and deployment on EC2.
  • Container Orchestration: Deploy and manage scalable containerized applications using Amazon ECS (Elastic Container Service).
  • DevOps & Automation: Implement CI/CD Pipelines (AWS CodePipeline, CodeBuild) for automated deployments to EC2 and ECS.
  • Storage Solutions: Integrate on-premises environments with cloud storage using File Storage Gateway and FSx for Windows.
  • Advanced Database Architecture: Deep dive into Amazon DynamoDB design patterns, indexing strategies, and data modeling for high-performance applications.

Tasks to be carried out this week:

DayTaskStart DateCompletion DateReference Material
2Application Containerization (Docker)
- Install Docker on EC2 & Local Machine.
- Build Docker images for a sample application (Frontend/Backend).
- Use Docker Compose for multi-container orchestration.
- Push images to Amazon ECR (Elastic Container Registry).
20/10/202520/10/2025https://000015.awsstudygroup.com/
3Container Orchestration (Amazon ECS)
- Create ECS Cluster (Fargate/EC2 Launch Type).
- Define Task Definitions and Services.
- Configure Application Load Balancer (ALB) for traffic distribution.
- Implement Service Discovery with AWS Cloud Map.
21/10/202521/10/2025https://000016.awsstudygroup.com/
4CI/CD for Containers
- Setup AWS CodePipeline triggering from GitHub/GitLab.
- Configure AWS CodeBuild to build and push Docker images.
- Automate deployment to ECS Clusters.
- Implement Monitoring with Container Insights and Logging with FireLens.
22/10/202522/10/2025https://000017.awsstudygroup.com/
5CI/CD for EC2 & Hybrid Storage
- CodePipeline for EC2: Automate deployments using CodeDeploy agent.
- Storage Gateway: Configure File Gateway to mount S3 buckets as NFS shares.
- Amazon FSx: Deploy fully managed Windows File Server and mount via SMB.
23/10/202523/10/2025https://000023.awsstudygroup.com/

Self-Study on FSx/Storage Gateway
6Advanced DynamoDB Architecture
- Data Modeling: Design Single Table Design patterns.
- Performance Tuning: Work with Partition Keys, Sort Keys, and Capacity Units (RCU/WCU).
- Advanced Features: Implement Global Secondary Indexes (GSI), DynamoDB Streams, and Global Tables.
24/10/202524/10/2025https://000039.awsstudygroup.com/

Week 7 Achievements

Containerization & Orchestration

  • Successfully “dockerized” a monolithic application, decoupling it from the underlying infrastructure.
  • Deployed a highly available container cluster using Amazon ECS, utilizing Task Definitions to define resource requirements.
  • Configured Service Discovery to allow microservices within the cluster to communicate via logical names instead of IP addresses.
  • Implemented Application Load Balancer to distribute public traffic to dynamic container targets.

DevOps & CI/CD Automation

  • Built a robust CI/CD Pipeline using AWS CodePipeline and CodeBuild.
  • Achieved Continuous Deployment: Code changes pushed to the repository automatically trigger a build, image creation, and rolling update to the ECS service without downtime.
  • Integrated comprehensive monitoring using CloudWatch Container Insights to track CPU/Memory utilization of tasks.
  • Centralized container logs using FireLens for easier debugging and analysis.

Hybrid Storage Implementation

  • Bridged the gap between on-premises protocols and cloud storage.
  • Configured File Storage Gateway to allow legacy applications to write to S3 using standard NFS protocols.
  • Deployed Amazon FSx for Windows File Server, providing a fully managed, native Windows file system with Active Directory integration.

High-Performance Database Design

  • Mastered NoSQL concepts with Amazon DynamoDB.
  • Optimized database performance by designing efficient Partition and Sort Keys.
  • Implemented Global Secondary Indexes (GSI) to support diverse access patterns without duplicating data tables.
  • Explored DynamoDB Streams for event-driven architectures (triggering Lambda functions on database changes).