General Flashcards

1
Q

SAM
Server Application Model

what is it
what language
capabilities

A

Framework for develop and deploy serverless applications

All is in YAML CODE; its actually Cloudformation Code
From Simple YAML we generate complex cloudformation code

Can support Cloudformation:
Output, mapping, parameters, resources

Two commands to deploy

Capabilities:
Use codedeploy to deploy lambda functions
Run lambda, api gateway, dynamodb locally.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

SAM
Server Application Model

anatomy

A

Code looks like the following

  1. Transform header
    transform: ‘aws::serverless-2016-10-31’
  2. write code
    aws: :serverless:function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ApplicationStop

A

1
Stop application, remove current packages in prep of deployment and/or gracefully stop app

APPSEC and scripts are used for this, from last successful revision

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

DownloadBundle

A

2

Agent copies revision files to a temp location, RESERVED for AGENT, dont run user scripts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

before install

A

3

Decrypt files, create a backup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

install

A

4

temp files are copied to destination folder, RESERVED for agent, NO SCRIPTS FROM USER

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

AFTERINSTALL

A

5
Deployment of tasks
CHANGE FILE PERMISSIONS
CONFIGURE APP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

application start

A

6

RESTART SERVICES THAT WERE STOPPED

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

validate service

A

Verify deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly