AWS
Deployment
Have you used any AWS services for deployment? Which one do you use? ECS, EC2 or EKS? What’s the difference and why did you choose to use it but not the others?
EC2 and ECS and EKS are all for application deployment, the reason we use ECS is because our application is already dockerized so it easier to just deploy it on ECS, another reason is because our applications are actually built in the microservices architecture, so it’s more suited to use ECS.
EC2 allows us to run any type of software, including containerized applications. We can customize it based on our demands.
ECS allows us to run docker containers, and works for containerized applications only.
EKS is a fully managed Kubernetes service which allows users to deploy, manage, and scale containerized applications.
EC2 is most commonly used.
ECS is docker specific where EKS is used to manage applications deployed through ECS and EC2.
How to auto-scaling EC2?
We can use either CloudFormation or a launch template to create up auto scaling group(ASG)
We need to define auto scaling metrics to decide when to scale up and down.
Storage
AWS Lambda - Serverless
IAM - Access-Control
Open-ended questions: