Skip to main content

AWS Amplify

AWS Amplify FAQs

About Amplify

Open all

    AWS Amplify helps developers go from code to a live web app. It puts hosting and the backend in one place. You get a place to run your app, a PostgreSQL database, a PostgREST-compatible data API for your tables, and user sign-in powered by Better Auth. There are no servers or infrastructure for you to manage. You can build anything from a static website to a full-stack application. The same setup works for prototypes through production.

    Amplify covers the whole app. Hosting and the backend are one service. You don’t copy keys between dashboards or keep two sets of settings in sync. Your coding agent works through one command line tool. You pay for one plan rather than two subscriptions. And because Amplify runs on AWS, more Regions and other AWS services are there when you need them.

    No. Amplify sets up what your app needs in AWS. You don’t write access policies or manage credentials. For each environment, Amplify creates a role that grants only the required access to your backend resources and integrations.

    Amplify is for developers, startup founders, teams, and anyone who wants the shortest path from code to a live application and doesn’t want to deal with backend infrastructure.

    Amplify and Amplify Gen 2 are two different AWS services. Amplify Gen 2 is a TypeScript toolkit that creates AppSync, DynamoDB, Cognito, S3, and Lambda resources in your AWS account, and you control each of those resources. In contrast, an Amplify backend runs on PostgreSQL, Better Auth, and a PostgREST-compatible API. Gen 2 apps can use the new Amplify for hosting while their backend stays on Gen 2.

    Amplify has always been the AWS service for frontend and full-stack developers who want to build and ship web apps quickly. We rebuilt Amplify for how you build today, with coding agents, open source frameworks, and tools such as PostgreSQL and Better Auth. Because it's the next generation of Amplify rather than a separate product, it keeps the name. If you already use Amplify Gen 2 or Amplify Hosting, your apps keep running and remain fully supported.

    Amplify is offered in three pricing plans, Basic ($0/mo), Pro ($20/mo), and Pro Plus ($45/mo). For more information, see Amplify pricing.

    We work backwards from what customers need, so your requests shape what we build next. To see what's planned, visit the Amplify product roadmap. To ask for a feature, open a request on GitHub, or vote for a request that's already there. We review requests on a regular cadence. You can also send feedback from the Amplify console by choosing Give feedback.

Getting started

Open all

    You can deploy in several ways. Tell your coding agent to deploy, run aws amplifygen3 deploy from the CLI, or connect a GitHub or GitLab repository so every push deploys. You can also upload a build, or deploy from GitHub Actions using short-lived credentials through OpenID Connect. A Git repository is not required.

    To deploy using your coding agent, install the Amplify agent skill, which is part of Agent Toolkit for AWS, in your coding agent, such as Kiro, Claude Code, Codex, or Cursor. Then ask your agent to deploy your app. The skill teaches your agent how to deploy, add a backend, read logs, and roll back.

    The time to deploy most new web apps is under a minute, and subsequent changes go live in seconds. Amplify detects your framework, builds your app, and gives it a URL. To add a backend with a database, sign-in, and data API, you initialize the backend, define your tables, then redeploy.

Hosting and frameworks

Open all

    Amplify detects 18 frameworks and configures the build for you. Next.js, Nuxt, Astro, and SvelteKit get dedicated adapters for server-side rendering. Static site generators and single-page apps built with React, Vue, Angular, or Vite deploy without an adapter.

    An adapter turns your framework’s build into something Amplify can run. Amplify provides and maintains the adapters for Next.js, Nuxt, Astro, and SvelteKit, so you don't maintain one.

    They are three ways to build a page. Static generation builds it once, ahead of time, so it loads fast. SSR builds it for each visit, so it can be personal to the user. ISR builds it ahead of time and refreshes it in the background on a schedule. Amplify reads your framework’s settings to see which one each page uses.

    Yes. Every pull request gets its own deployment in preview, so you can review it before you push it to production. Amplify posts the link and build status on the pull request. A rollback is instant and needs no rebuild. You can go back to any of your last 50 deployments. On Pro and above, you can release gradually, in 10% steps or with a 10% test group first. A rollback does not undo database changes. To undo one, apply a new migration or restore your database to an earlier time.

    Every app starts with a preview and a production environment. Basic includes 2 environments per app, Pro includes 5, and Pro Plus includes 10. Each environment has its own URL, variables, secrets, and integrations. Your third-party API keys are stored as secrets. Secret values don’t appear in command output or downloads.

    Yes, on every plan. Amplify issues and renews your HTTPS certificate. If your domain is in Amazon Route 53, Amplify adds the DNS records for you. With another registrar, you add the records Amplify gives you. Apex domains, such as example.com, work too, and Amplify can also set up www for you. You can point subdomains at environments, such as staging.example.com at staging.

    Your app's static content is served from a global CDN. Server rendering, middleware, and your backend run in your app's home AWS Region. Amplify chooses the home Region closest to you.

Database, Auth, and APIs

Open all

    Your backend runs on serverless PostgreSQL, the open source database you already know. It supports row-level security and extensions such as pgvector and PostGIS. Because it's serverless, you never choose or resize an instance. The database adds compute as your traffic grows, so it keeps up with a launch or a sudden spike in users. When no one is using your app, it scales to zero and wakes in seconds on the next request, so you don't pay for database compute while your app is idle.

    Auth gives your app authentication, authorization, and user management, built into your backend, so you don't need to integrate a separate service. It also protects your users' data from day one. Your row-level security policies read each signed-in user's ID, so every user reaches only the data you allow.

    Your users can sign in with email and password, or with Google, Apple, GitHub, Microsoft, and other providers, and you can connect an existing Amazon Cognito user pool. You can use the included ready-to-use sign-in page, or build your own sign-in page with your design using the auth APIs supported in the client SDK. Amplify Auth is built on Better Auth, the open source auth library many developers and coding agents already use, and it's included in your plan with no charge per user.

    The Data API is a REST API that Amplify generates from your schema, so your app reads and writes data without you writing backend code. It also protects your users' data. The Data API runs every request as the signed-in user and applies your row-level security policies, so each user sees and changes only what you allow. The Data API is PostgREST-compatible, so your existing code works with few or no changes.

    A backend branch is an isolated copy of your backend, with its own database, Auth, and Data API, for every Git branch and pull request. You and your coding agent can try any change, including schema changes, without putting production at risk. Reviewers see each pull request working against its own data before it merges, and several agents can build at the same time without getting in each other's way. Your production data is never copied into a branch, so your users' data stays private. When you merge, the same changes go to production.

    Yes. It's standard PostgreSQL, so SQL clients and ORMs such as Prisma and Drizzle can connect to it. You can also query, inspect, lint, and back up your database from the Amplify CLI.

    No. When your app has no traffic, the database scales to zero and stops using compute, so idle time doesn't count against your backend compute allowance or add overage charges. The database wakes in seconds on the next request, so your app can resume serving requests quickly. Your stored data still counts toward your database storage allowance while the database is idle.

    Amplify backs up your databases automatically. On paid plans, you can restore your production database to any point in your plan's retention window. The restore creates a copy, so your live app keeps running while you recover data. For each plan's retention window, see Amplify pricing.

    The Amplify client SDK connects your frontend to your backend. It reads and writes data through the Data API, signs users in, and keeps them signed in by renewing their sessions in the background. It works with any JavaScript or TypeScript framework, in the browser and on the server.

Coding agents and AI

Open all

    Any coding agent that can run CLI commands and load skills works with Amplify, including Kiro, Claude Code, Codex, and Cursor. Amplify APIs describe themselves, so agents can find out what each command needs. CLI output is structured so agents can read it, and errors name the policy, column, or constraint that caused the failure, so your agent can fix the problem and retry.

    Your agent can work in a preview environment, which has its own database, before anything reaches production. Deploys run migrations before new code goes live, and if a migration fails, production keeps serving the last good version. If a deploy causes a problem, your agent can roll back to the last working version in one step. The Basic plan never charges you for Amplify usage. On the Pro and Pro Plus plans, you pay a flat monthly price unless you turn on overages, which you can cap at a monthly limit to control what you spend.

    Yes. Connect Amazon Bedrock as an integration and Amplify grants your app access to foundation models without you writing IAM policies or managing credentials. Amazon Bedrock usage is billed separately from your Amplify plan.

Scale, security, and operations

Open all

    Amplify runs on AWS infrastructure, so your app can grow from a prototype to millions of users without moving to a different platform. When you outgrow your plan's allowances, turn on overages or move to a higher plan.

    Manage your app from the Amplify console, the AWS CLI, or your coding agent. You can see requests, errors, latency, and cache hit rate for every environment, and send runtime and access logs to Amazon CloudWatch or Amazon S3.

    Security is a shared responsibility between AWS and you. AWS protects the infrastructure your app runs on, and Amplify enables secure settings by default. Every app gets HTTPS and a web application firewall (AWS WAF) with managed rules that block common attacks and known bad IP addresses. AWS Shield Standard protects against DDoS attacks, at no extra cost. Amplify also gives your app only the permissions it needs. You are responsible for your code, your data, and who can access your app. On Pro and Pro Plus, you can add your own firewall rules.

    Amplify plans to add support for SOC, ISO, PCI DSS, HIPAA, and FedRAMP requirements as part of the Enterprise plan (coming soon). For more information, view our product roadmap or contact your AWS account team.

Portability and integrations

Open all

    Amplify backend offers open source tooling: PostgreSQL, a PostgREST-compatible API, and Better Auth. Your schema lives in your repository as SQL migrations, and you can back up and export your full database with standard PostgreSQL tools at any time.

    Yes. Your app and backend run in your own AWS account. Resources you connect as integrations, such as an S3 bucket or an Aurora DSQL cluster, stay yours, and removing an integration removes only the connection.

    Yes. Amplify offers integrations for Amazon Aurora DSQL, Amazon S3, and Amazon Bedrock. Each integration is created once at the account level and can be connected to any of your apps, with separate resources for each environment.

    Yes. Store the service's API keys as secrets in each environment, and your app reads them at runtime. Secret values do not appear in CLI output or downloads.

Amplify Hosting, Amplify Gen 2, and Amplify Gen 1

Open all

    Amplify Gen 2 and Amplify Hosting continue to be supported, and your existing apps keep running. You don’t need to move them. Amplify Hosting continues to receive security fixes, bug fixes, and framework and runtime updates. You can stay on Amplify Hosting or move your app to the new Amplify when you’re ready. 

    Yes. You can move your frontend web app to the new Amplify from the same repository, and move your domain when you’re ready. Your backend can stay on the Gen 2 stack, or you can move it later, when you’re ready. Moving a backend changes your data from DynamoDB and GraphQL to PostgreSQL and a REST API.

    Start with the new Amplify. It hosts your app with full support for modern frameworks, and it gives you a managed PostgreSQL database and sign-in when your app needs a backend. Choose Amplify Gen 2 if your app needs real-time GraphQL subscriptions, DynamoDB, or Lambda functions, or if your team wants full CDK control over its AWS resources.

    For web apps, we recommend you start with the new AWS Amplify.