Easy ReviewSAA-C03
Design Resilient Architectures4

Serverless Application Repository

Publish, share and deploy reusable serverless applications.

AWS Serverless Application Repository provides a place to share serverless applications defined with AWS SAM templates.

Application sharing and deployment

AWS ServerlessServerless technologies let customers run code and integrate applications without managing servers. Application Repository helps teams find, publish and deploy serverless applications, which use services that run code without managing servers. A publisher provides an AWS Serverless Application Model (SAM) template, a file defining the application’s AWS resources, so others can reuse the application.

How it works

  1. Define the application in a SAM templateA template defines the AWS resources used by a serverless application. and publish it with the console, SAM CLI or an AWS SDK.
  2. Choose who can deploy it. New applications start private. A publisher can share with specific accounts, an AWS organization or everyone.
  3. Check Region availability. Private and privately shared applications are available in their creation Region; public applications are available in all AWS Regions.
Sharing setting Who can deploy Region availability
Private Publishing account Creation Region
Privately shared Specified accounts or organization Creation Region
Public Everyone All AWS Regions

When a public application is deployed in another Region, the repository copies its deployment artifacts, such as code, to an S3 bucket there and updates the template references.

Exam cues

  • If the question says find and deploy a reusable serverless application, think AWS Serverless Application Repository, because it lets developers find, deploy and publish applications.
  • If the question says reuse a serverless application across accounts in one organization, think private sharing, because the publisher can grant the organization access.
  • If the question says deploy a privately shared application in another Region, think creation Region, because privately shared applications are only available there.

Remember

  • Applications are private by default.
  • Private application policiesAn application policy determines which actions a specified principal or organization can perform on a repository application. grant or deny access at the account level, not to individual users in an account.

Trap: Sharing an application privately does not make it available in another Region.

Deploy a repository application with the CLI
12ReviewRequired capabilitiesCreate change setAcknowledge capabilitiesExecute change set
  1. Review required capabilities and create the change set with those capabilities.

  2. Execute the change set to deploy the application.

From the AWS docs (13)
  • Serverless technologies let customers run code and integrate applications without managing servers.
  • AWS Serverless Application Repository lets developers find, deploy and publish serverless applications.
  • Publishers define applications with an AWS SAM template and can publish using the console, SAM CLI or an AWS SDK.
  • Applications are private by default and can be shared with specific accounts, an AWS organization or everyone.
  • Private and privately shared applications are available only in their creation Region; public applications are available in all AWS Regions.
  • When a public application is deployed in another Region, the repository copies deployment artifacts to an S3 bucket in that Region and updates template references.
  • A nested application is part of a larger serverless application.
  • The repository checks templates for IAM roles, resource policies and nested applications and requires acknowledgment of applicable capabilities before deployment.
  • Specified IAM resources require CAPABILITY_IAM or CAPABILITY_NAMED_IAM.
  • Certain resource policies require CAPABILITY_RESOURCE_POLICY.
  • A CloudFormation change set previews proposed stack changes before execution.
  • A CloudFormation stack is a collection of AWS resources managed as one unit.
  • For privately shared applications, repository application policies grant or deny access to AWS accounts, not individual users in an account.

Flashcards

tap to flip
Answer

·

All 4 cards as a list

Where can a team find, publish and deploy reusable serverless applications?

AWS Serverless Application Repository. Publishers define applications using AWS SAM templates.

A team publishes an application to AWS Serverless Application Repository but has not configured sharing. Who can deploy it?

The publishing account. Applications are private by default.

A company wants to share an AWS Serverless Application Repository application only with its organization. What should the publisher configure?

Privately share the application with the AWS organization.

Can a privately shared AWS Serverless Application Repository application be deployed in a different Region from its creation Region?

No. Private and privately shared applications are available only in their creation Region.

You finished every topic of SAA-C03!

Your badge turned gold. Next step: book the exam on AWS. Once you pass, add yourself to Who passed.

Share

Share that you finished this certification

I finished every topic of AWS Certified Solutions Architect - Associate (SAA-C03) on Easy Review. Come study too!