Section 11 - Deployments & Managing Infrastructure at Scale Flashcards
Which service does this describe?
a service that gives developers and businesses an easy way to create a collection of related AWS and third-party resources, and provision and manage them in an orderly and predictable fashion
CloudFormation
What service does this describe?
A manner of outlining your AWS infrastructure, for any resources (most of them are supported by AWS)
CloudFormation
From an exam perspective, what service will be used when we have Infrastructure as Code?
Cloud Formation
From an exam perspective, what service will be used when we need to repeat an architecture in different environments, regions or AWS accounts
Cloud Formation
Which are advantages to CloudFormation (select two):
1. Costs
2. Helps to automate the building of static web sites
3. Helps to determine how to form a cloud?
4. Infrastructure as a Code
- Costs
- Infrastructure as a Code
With Infrastructure as a Code, changes to the infrastructure are (manually processed through the resource/reviewed through code)
Reviewed through code
Which are Costs benefits of CloudFormation (choose three)
1. It’s a free service, so there’s no associated costs to use it.
2. stacks are tagged with identifier so you can see how much each stack costs
3. CloudFormation is income driven so, the less profitable you are, the less the associated costs will be
4. can estimate the costs using Cloud Formation template
5. You can setup templates for when resources are created/terminated, thus saving you from paying for down time
2,4,5
Which are Productivity benefits of CloudFormation? (choose three)
1. CloudFormat will get up and punch you in the throat if you’re not staying productive
2. ability to destroy and re-create infrastructure on the fly
3. automated generation of Diagram for your templates
4. assists in manual generation of Diagram for your templates
5. declarative programming (no need to figure out ordering and orchestration)
2,3,5
CloudFormation - in addition to using templates in AWS, where else can they be found?
on the web
Does CloudFormation support all resources?
It supports, almost all, resources
If you need to use a non-supported AWS resource with Cloud Formation, you can use cus___ res______?
custom resources
This tool is a graphic tool for creating, viewing, and modifying AWS CloudFormation templates. With ________, you can diagram your template resources using a drag-and-drop interface, and then edit their details using the integrated JSON and YAML editor.
CloudFormation Designer
What are the two formats for CloudFormation templates?
JSON and YAML
What are the two formats for CloudFormation templates?
JSON and YAML
When using CloudFormation to create infrastructure, how do you later delete the resources created from that process?
Deleting the “stack” will then delete all of the resources that were created for the stack
When using CloudFormation to create infrastructure, what name of the “item” created by CloudFormation?
stack
This service allows you to code your infrastructure using a programming language other than what’s native to CloudFormation
AWS Cloud Development Kit
This service will compile a template from your language of choice (Python, javascript etc) into a CloudFormation JSON or YAML template that can be used by CloudFormation
Amazon Cloud Development Kit
what is meant by “Web App 3-tier” architecture
when uploading a web application in AWS, a user is directed to an Elastic Load Balancer ==> Auto Scaling Group of EC2 instances ==> database (or in-memory …ie ElastiCache)
As a developer on AWS, there’s really only one simple thing they actually want to utilize AWS for. What would that be?
to run their code
Most websites would have this architecture built into their web applications.
A load balancer combined with an auto scaling group
what service is considered a developer centric view of deploying an application on AWS
AWS Elastic Beanstalk
AWS Elastic Beanstalk is considered what type of service (Iaas, Saas, Paas)?
PaaS (platform as a service)
How much is using Beanstalk?
It’s free but you will pay for the underlying instances.
Elastic Beanstalk is a (managed/non managed) service.
Managed
What are the three architecture models for Elastic Beanstalk?
- Single Instance only (good for dev)
- Load Balancer & Auto Scaling Group - for production or pre-production web applications
- auto scaling group only - good for non-web apps in production
Elastic Beanstalk can support (one/just a couple/many) platforms.
many
How does Beanstalk handle health monitoring?
Beanstalk has a full monitoring suite within the service itself, there will be health agents on each instance that will push metrics to CloudWatch.
CloudFormation is utilized by what code-centric service?
Elastic Beanstalk
What is an important distinction between Beanstalk and CloudFormation?
Beanstalk is more “application” focused whereas CloudFormation is more “infrastructure” focused
What is another service that offers code deployment that is not related to Elastic Beanstalk nor CloudFormation?
CodeDeploy
a service that automates code deployments to any instance, including Amazon EC2 instances and instances running on-premises. This service makes it easier for you to rapidly release new features, helps you avoid downtime during deployment, and handles the complexity of updating your applications.
CodeDeploy
If you’re trying to update your software from version 1 to version 2, what two things does CodeDeploy work with?
EC2 instances
On-prem servers
Given that CodeDeploy work for EC2 instances and on-prem, it is considered to be a (public/private/hybrid) service.
hybrid