Creating and Configuring an AWS Account for Zappa Deployment

We establish the necessary AWS credentials

You're going to need AWS account access to get rolling on this course. We are going to use reasonable defaults for a simple approach to getting AWS set up. There are many ways of accomplishing this, and we are trying to keep it as straightforward as possible.

Some of you may work in a company where a separate team manages AWS. In that case, you'll have to work with that team to obtain the necessary credentials for this course.

Credentials#

The Zappa utility attempts to make your deployments as easy as possible. It will do many tasks on your behalf in AWS to get your project up and running. Some of the tasks may include:

  • An S3 bucket must be created to hold the finished package of code

  • Lambda execution environments must be created

  • API Gateways need to be created and wired up

  • and other services, based on the features you may be using.

In order for Zappa to accomplish these tasks, it will use API keys to make the modifications to your AWS account. We recommend creating an AWS IAM user just for the Zappa utility. AWS Identity and Access Management (IAM) is the method by which users and programs gain access to the AWS services. By creating a dedicated IAM user for Zappa, we isolate the permissions needed for the utility and have the ability to disable the user as needed.

Browse to the IAM console & create user#

Log into your AWS console and navigate to the IAM Service Console. Once there, click on Users from the left menu. At the top of the main screen, click on Add User

For the user name, let's use zappa-user. And then select Programmatic Access for Access type. The Zappa user will not be logging into the console, so there is for access to that.

This lesson preview is part of the Serverless Django with Zappa course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.

Unlock This Course

Get unlimited access to Serverless Django with Zappa, plus 70+ \newline books, guides and courses with the \newline Pro subscription.

Thumbnail for the \newline course Serverless Django with Zappa