Section - Automation Flashcards

1
Q

What is CloudFormation?

A
  • Infrastructure As Code
    • Cloud formation allows you to manage , configure , and provision AWS infrastructure as YAML or JSON code.
  • Parameters
    • input custom values
  • Conditions
    • e.g. Provision resources based on environment
  • Resources
    • This section is manadory and describes the AWS resources that CloudFormation will create.
  • Mappings
    • Allows you to create custom mappings like Region: AMI
  • Transform
    • Allows you to reference code located in S3, e.g. Lambda code or resuable snippets of CloudFormation code.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CloudFormation Nested Stacks?

A
  • CloudFormation nested stacks enable re-use of CloudFormation Code for common use cases. e.g. Standard configuration for a load balancer, web server or application server.
  • Instead of copying out the code each time, create a standard template for each common use case and reference from withon your CloudFormation template.
  • CloudFormation Template reference:
    • Resource
      • Type: AWS::CloudFormation::Stack
    • Template must be hosted on S3
  • You can have multi level stacks …but only one level is recommended
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Serverless Application Model (SAM) ?

A
  • Define and provision serverless applications using CloudFormation
  • “sam package”
    • Packages your application and uploads to S3
  • “sam deploy”
    • Deploys your serverless app using CloudFormation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Exam Tip: CloudFormation

A
  • CloudFormation is perfect for creating immutable architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Paas?

A
  • Platform as a service (PaaS) is a single-stop application deployment model.
  • You can bring your code and the provider builds everything for you, deploys your application, and then manages it going forward.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What Elastic Beanstalk does?

A
  • Elastic Beanstalk is Amazon PaaS tool
  • Automation
    • Elastic Beanstalk automates all your deployments.
    • You cab templatize what you’d like your environment to look like
  • Deployment
    • It will handle all your deployments.
    • You can upload cide, test your code in a staging envrionment and then deploy to production.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Exam Tips: Elastic BeanStalk

A
  • PaaS
    • Beanstalk handles it all, there is very little you need to do
  • Platform types
    • Supports containers, Windows and Linux applications.
  • Hand Holding
    • It’s great solution to start with, but in generally it’s only for simpler we b applications
  • Traditional
    • It’s not serverless, Beanstalk is creating and managing standard EC2 architecture.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Systems Manager?

A
  • Systems manager is a suite of tools designed to let you view, control, and automate both your AWS architecture and on-premises resources.
  • Free set of tools on AWS but small fee applies on-prem
  • Features of Systems Manager
    • Automation Documents(Run Books)
      • Can be used to control your instances or AWS resources
    • Run Command
      • Execute commands on your hosts
    • Patch Manager
      • Manages your application versions
    • Parameter Store
      • Securely store your secret values
    • Hybrid Activations
      • Control your on-premises architecture using System manager (an Agent must be installed on the host machine)
    • Session Manager
      • Remotely connect and interact with your architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly