Posted On: Nov 29, 2018
You can now assemble and deploy new serverless architectures using nested applications supported by the AWS Serverless Application Model (SAM) using the AWS Serverless Application Repository. Nested applications are loosely-coupled components of a serverless architecture.
Nested applications enable you to rapidly build highly sophisticated serverless architectures by reusing services that are independently authored and maintained but easily composed using SAM and the Serverless Application Repository. Using nested applications, you can build more powerful applications, avoid duplicated work, and help ensure consistency and best practices across your teams and organizations. Today, building a service to handle bad messages in an event stream is common practice for building resilient systems. Now, you can develop that solution as a SAM application, share it via the Serverless Application Repository, and enable teams to include it as a nested application across their serverless architectures.
Nested applications are deployed as CloudFormation nested stacks. To nest applications, use the new AWS:Serverless:Application resource type in your SAM template. You can continue to use the sam package and sam deploy commands in SAM CLI or AWS CloudFormation APIs to package and deploy your applications. To learn more about using nested applications, read our documentation.
Nested applications using the Serverless Application Repository are available in the US East (Ohio), US East (N. Virginia), US West (N. California), US West (Oregon), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific (Sydney), Canada (Central), EU (Frankfurt), EU (Ireland), EU (London), and South America (São Paulo) regions.