Notes on: Linux Academy: AWS CSAA: 17) Deployment Services

Just a place to put some notes on the “AWS Certified Solutions Architect - Associate (New!)” course from https://linuxacademy.com

Deployment Services

Image: Architecture: Deployment Services

Cloudformation

Image: Architecture: Cloudformation

CloudFormation Essentials

- CloudFormation is the pure definition of infrastructure as code:
-- You can “convert” your application’s architecture into a JSON formatted template (so your architecture is literally code)
-- You can then use that JSON template to deploy out updated or replication copies of that architecture to multiple regions

Benefits
- Saves time - you don’t have to manually create duplicate architecture in additional regions
- Since your infrastructure is now code, you can version control your infrastructure. Allowing for rollbacks to previous versions of your infrastructure if a new version has issues
- Allows for backups of your infrastructure
- Great solution for disaster recovery

Elastic BeanStalk

Image: Architecture: Elastic Beanstalk

Elastic BeanStalk Essentials:

- Elastic Beanstalk is designed to make it easy to deploy less complex applications
- This helps reduce the management required for building and deploying applications
- Elastic Beanstalk is used to deploy out easy, single-tier applications that take advantage of core services such as:
-- EC2
-- Auto Scaling
-- ELB
-- RDS
-- SQS
-- CloudFront

- Why/when to use Elastic Beanstalk:
-- In order to quickly provision an AWS environment that requires little to no management
-- The application fits within the parameters of the Beanstalk service
-- Can deploy from repositories or from uploaded code files
-- Easily update applications by uploading new code files or requesting a pull from a repository

- Supported Platforms:
-- Docker
-- Java
-- Windows .NET
-- Node.js
-- PHP
-- Python
-- Ruby

Quiz: Deployment Quiz

Q: What platforms are supported in Elastic BeanStalk?
A: Docker, Java, Windows .NET, Node.js, PHP, Python, Ruby

T: Elastic BeanStalk is primarily used to deploy simple, single-tier applications.

Q: What are two benefits of Cloudformation?
A1: A great disaster recovery option
A2: Version control your infrastructure
E: Since CloudFormation allows for you to turn your infrastructure into code, you can use it to quickly spin up the infrastructure in a new region (in the case of a disaster), and since it's code, you can version control it.

T: By using Cloudformation, you can easily rollback your application's infrastructure to previous versions.

Q: What AWS service allows you to treat your infrastructure as code?
A: Cloudformation
E: Cloudformation allows you to turn your infrastructure into JSON-formatted templates.

Comments