Skip to main content

User Guide: Production-Ready Serverless Backend Application Stack (Python)

This user guide is documentation for leveraging the AMI products available on AWS Marketplace.

The AMI product includes a complete set of reference implementation source code based on recommended configurations for developing AWS Lambda applications with Python runtime. In this document, we refer to the combination of the AMI product, reference implementation source code, and user guide documentation as the "catalog".

After purchasing the AMI, you can directly execute the catalog contents to verify operation or use them as a template for projects intended for production release. You don't need to accept all the catalog contents; you can select and use only the parts you need.

The AMI has Python runtime environment and recommended toolsets pre-installed, and if necessary, you can also deploy a demo environment using the AWS CloudFormation templates provided within the AMI.

The "Remote EC2 Sandbox" is also available, which doesn't include application stacks but only has the runtime environment and recommended toolsets pre-installed for development. We encourage you to try it.

Also, if you need support based on the catalog contents, such as the following examples, please consider using Serverless Operations Catalog Support:

  • More detailed explanations and skill transfer regarding catalog contents or serverless application development in general
  • Introduction of catalog technology stack and project configuration to field operations, onboarding support
  • Design and promotion of production release decision flows, tuning, DB configuration and performance optimization, application monitoring workflow
  • Other timely issue resolution and continuous Q&A support

How to Proceed After AMI Purchase

After purchasing this catalog product, first launch an EC2 instance, connect to it, and review the contents. This catalog is built by inheriting Remote EC2 Sandbox, so it assumes remote connection to EC2 in the same way.

  • For details about "Remote EC2 Sandbox", please refer to Remote EC2 Sandbox User Guide.
    • However, the pricing structure of this catalog AMI product differs from Remote EC2 Sandbox: it's a one-time purchase within the contract period (payment only at purchase), not pay-as-you-go.
  • For details on how to create instances, please refer to How to Create Instances.
  • For details on how to connect to EC2 instances, please refer to Connection Methods and Usage.

Catalog Contents

You can review the contents sequentially in the order of the following headings.

1. Overview and Configuration

Documentation explaining the overview of this catalog.

For details, please refer to here.

2. WebAPI Implementation Guide

Documentation describing practices for implementing WebAPI based on this catalog's configuration.

For details, please refer to here.

3. Event Processing Implementation Guide

Documentation describing implementation practices for event processing Lambda based on this catalog's configuration.

For details, please refer to here.

Introduces recommended implementation patterns for AWS Lambda operation, such as AWS SDK usage and Logger utilization methods, regardless of application type.

For details, please refer to here.

5. Local Debugging and Testing

Documentation describing methods for executing application code in local development environments for debugging and testing.

For details, please refer to here.

6. AWS Lambda (Python) Packaging Methods

Documentation explaining how to create deployment packages for deploying to AWS Lambda.

For details, please refer to here.

7. Deployment and Operation Verification Using AWS CloudFormation

Documentation describing how to deploy this catalog's sample code using AWS CloudFormation and perform operation verification.

For details, please refer to here.

8. Monitoring

Documentation describing application monitoring methods based on this catalog's configuration.

For details, please refer to here.