Solutions Architecture Discussions Overview Flashcards
What are the 5 pillars of a well architected application?
- cost
- performance
- reliability
- security
- operational excellence
describe elastic beanstalk
elastic beanstalk is a developer-centric view of deploying an application on AWS
it automatically handles capacity provisioning, load balancing, scaling, application health monitoring, etc…
Your website TriangleSunglasses.com is hosted on a fleet of EC2 instances managed by an Auto Scaling Group and fronted by an Application Load Balancer. Your ASG has been configured to scale on-demand based on the traffic going to your website. To reduce costs, you have configured the ASG to scale based on the traffic going through the ALB. To make the solution highly available, you have updated your ASG and set the minimum capacity to 2.
How can you further reduce the costs while respecting the requirements?
Reserve two EC2 instances
Which will NOT help us design a STATELESS application tier?
a. store session data in amazon RDS
b. store session data in amazon elasticache
c. store session data in the client http cookies
d. store session data on ebs volumes
d. store session data on ebs volumes
EBS volumes are created in a specific AZ and can only be attached to one EC2 instance at a time.
You want to install software updates on 100s of Linux EC2 instances that you manage. You want to store these updates on shared storage which should be dynamically loaded on the EC2 instances and shouldn’t require heavy operations.
What do you suggest?
Store the software updates on EFS and mount EFS as a network drive at startup.
EFS is a network file system (NFS) that allows you to mount the same file system to 100s of EC2 instances. Storing software updates on an EFS allows each EC2 instance to access them.
As a Solutions Architect, you’re planning to migrate a complex ERP software suite to AWS Cloud. You’re planning to host the software on a set of Linux EC2 instances managed by an Auto Scaling Group. The software traditionally takes over an hour to set up on a Linux machine.
How do you recommend you speed up the installation process when there’s a scale-out event?
Use a Golden AMI.
Golden AMI is an image that contains all your software installed and configured so that future EC2 instances can boot up quickly from that AMI.
You’re developing an application and would like to deploy it to Elastic Beanstalk with minimal cost. You should run it in ………………
a. single instance mode
b. high availability mode
a. single instance mode
The question mentions that you’re still in the development stage and you want to reduce costs. Single Instance Mode will create one EC2 instance and one Elastic IP.
You’re deploying your application to an Elastic Beanstalk environment but you notice that the deployment process is painfully slow. After reviewing the logs, you found that your dependencies are resolved on each EC2 instance each time you deploy.
How can you speed up the deployment process with minimal impact?
create a golden AMI that contains the dependencies and use that image to launch the EC2 instances
Golden AMI is an image that contains all your software, dependencies, and configurations, so that future EC2 instances can boot up quickly from that AMI.