SAP 12: Deployment & Instance Management

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/31

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

32 Terms

1
New cards

What is Elastic Beanstalk?

Developer centric view of deploying an application on AWS
(we still have full control)

2
New cards

If you see java with tomcat, you should think ___

elastic beanstalk

3
New cards

You need to ‘replatform’ an app, what should you use?

Elastic Beanstalk

4
New cards

What are the three architecture models for elastic beanstalk?

Single instance (for dev)
LB + ASG
ASG only (good for non-web apps)

5
New cards

What is a worker tier for elastic beanstalk?

Have a queue of long running jobs in an ASG
i.e. video processing, generating a zip file, etc

6
New cards

How do you define periodic tasks in elastic beanstalk?

cron.yaml

7
New cards

CodeDeploy can deploy to: (4)

EC2, ASG, ECS & Lambda

8
New cards

How to do a 0 downtime EB deployment?

Blue / Green w/ route53

9
New cards

To do a blue/green deployment with codedeploy, you must be using an ____

ELB

10
New cards

Types of prod codedeploy updates?

in-place
blue / green

11
New cards

Deployment options for codedeploy to AWS Lambda? (2)

traffic shifting
Pre and post traffic hooks

12
New cards

What are pre & post traffic hooks with codeploy to lambda?

validate deployment before traffic shift starts

13
New cards

What is AWS Cloud Map?

Resource discovery service
Creates a map of backend services/resources that your app depends on

14
New cards

What is Systems Manager OpsCenter?

Resolve operational issues related to AWS resources
Aggregates logs, provides automation runbooks, etc

15
New cards

What is Systems manager session manager?

Start a secure shell on EC2
Does not need SSH, bastion, or ssh keys

16
New cards

What are the systems manager patch managers steps?

define patch baseline
Define patch groups
Define maintenance windows
Add AWS-RunPatchBaseline Run Command
Define Rate Control
Monitor Patch Compliance using SSM Inventory

17
New cards

How does systems manager work?

Requires agent installed, sometimes done by default

18
New cards

What is systems manager overview?

Manage your EC2 and on-prem systems
Patching automation for enhanced compliance

19
New cards

What is the AWS CDK?

Cloud Development Kit
Define infrastructure using familiar language, compiled into cloudformation template

20
New cards

What is AWS SAM?

Serverless Application Model
Framework for developing and deploying serverless apps
Use codedeploy to deploy lambda
You can run lambda, gateway, dynamodb locally

21
New cards

All AWS SAM configurations are done in ___

YAML

22
New cards

What is AWS Service Catalog?

Create and manage catalogs of IT services that are approved on AWS
Builds a collection of cloudformation templates

23
New cards

AWS Service Catalog helps with

governance, compliance, and consistency

24
New cards

You have users that want a quick self-service portal to launch a set of authorized products pre-defined by admins in AWS. You should use:

AWS Service Catalog

25
New cards

Cloudformation vs codedeploy vs beanstalk

Cloudformation: Hard, infrastructure as code
CodeDeploy: Medium, app deployment automation
Beanstalk: Easy, app deployment & management (simple apps)

26
New cards

How do you manage what happens to a resource when the cloudformation template is deleted?

DeletionPolicy

27
New cards

What are the options for a cloudformation template resource deletion policies? (3)

Delete (default)
snapshot
retain

28
New cards

You need a custom resource in cloudformation when you… (4)

Resource not yet supported
on-premises resource
emptying an s3 bucket before being deleted
Fetch an AMI id

29
New cards

What are cloudformation stacksets?

Create, update, or delete stacks across multiple accounts & regions with a single operation
(enable automatic deployment)

30
New cards

What is it called when cloudformation resources have been manually changed?

Drift

31
New cards

How can you tell if cloudformation resources have drifted?

CloudFormation Drift
Detect drift on an entire stack or individual resource

32
New cards