Posts

Showing posts from October, 2018

How did I pass AWS Solution Architect Professional Exam in just 3 weeks

This post will be a bit different from my usual technical walk through. I recently passed AWS Solution Architect Professional exam with just three weeks of preparation. In this post, I want to share my experience with the exam itself as well as how I prepared for it. Hopefully you will find it somewhat useful. I booked the exam on 1st Oct 2018. Honestly I didn’t expect myself to pass at that time. This was the first time I tried for the Professional exam. I did my SA Associate back in April 2017. I prepared that one for over 2 months. But for this professional one, I only decided to take the exam on 1st Oct after found out the Advanced Architect course I took offered a free exam voucher. I thought to myself, this will just be a good learning experience. But somehow I managed to pass the exam in the end! Now I won’t deny luck plays a big part, given all the answers are in multi-choice format. But there I believe are also other key approaches I took contributed to my pass. After re-track

Deploy Docker Image with AWS ECS (Part 2)

Image
In Part 1 we uploaded a Docker image to AWS ECR. In this post, we will complete building the ECS Cluster and deploy the container image onto the cluster. Note: The lab I worked on was recreated. The container image was renamed from webfront to testweb. Before we start, you need to understand some ECS basic concepts. Task Definition A task definition describes one or more containers, their relationships, how they should be launched etc. It’s basically a JSON file contains the configuration details of the container(s). Task A task is the instantiation of a task definition. They are created based on the task definitions you provided. Service (Scheduler) In short, the service or service scheduler controls the tasks running across the ECS cluster. Cluster Cluster is the mothership of those tasks. It hosts the containers launched from the tasks. Container Instance By now, AWS ECS offers two types of ECS Cluster: Fargate and EC2. With Fargate, AWS manages the cluster resources for you. With