DeployFrame Docs

AWS Account Setup

How to create and configure an AWS account for the AI SaaS Boilerplate

AWS Account Setup

The AI SaaS Boilerplate deploys on AWS using CDK. This guide will help you create an AWS account and set up the necessary IAM user with appropriate permissions.

Creating an AWS Account

Sign Up for an AWS Account

If you don't already have an AWS account:

  1. Visit https://aws.amazon.com/
  2. Click the "Create an AWS Account" button in the top-right corner
  3. Enter your email address and account name
  4. Follow the signup prompts, including adding a payment method

AWS requires a credit card even if you're using the free tier. You will not be charged for services that fall within the free tier limits.

Creating an IAM User for Deployment

For security best practices, create a dedicated IAM user with the necessary permissions for deploying the AI SaaS Boilerplate.

Access the IAM Console

  1. Sign in to the AWS Management Console
  2. Search for "IAM" in the search bar and select it

Create a New IAM User

  1. In the IAM dashboard, click "Users" in the left navigation
  2. Click "Create user"
  3. Enter a username (e.g., "ai-saas-admin")
  4. (Optional) Check "Provide user access to the AWS Management Console" if you want console access
    • Select "I want to create an IAM user"
    • Choose either "Autogenerated password" or "Custom password"
    • Recommend checking "Users must create a new password at next sign-in"
  5. Click "Next"

Assign Permissions

  1. On the "Set permissions" page, select "Attach policies directly"
  2. Search for and select the "AdministratorAccess" policy
  3. Click "Next"

For production, consider using more restrictive permissions following AWS best practices.

Review and Create

  1. Review the user details and permissions
  2. Click "Create user"
  3. If you enabled console access, you'll see the console sign-in details
    • Download the .csv file with the password (if autogenerated)

Create Access Keys

  1. From the users list, click on your newly created user
  2. Go to the "Security credentials" tab
  3. Scroll down to "Access keys" and click "Create access key"
  4. For the use case, select "Other"
  5. (Optional) Add a description tag
  6. Click "Create access key"
  7. IMPORTANT: Download the .csv file or copy both the Access key ID and Secret access key
    • You will not be able to see the Secret access key again after this page

Keep your Access Key ID and Secret Access Key secure. You'll need them in the Development Environment Setup step where you'll configure the AWS CLI with these credentials.

Next Steps

After setting up your AWS account and IAM user with appropriate access keys, proceed to Development Environment Setup to install and configure the necessary tools for deployment.

On this page