AWS Amplify and Device Farm
AWS Amplify for building and hosting full-stack web and mobile apps, and AWS Device Farm for testing apps on real phones and tablets.
AWS Amplify
AWS Amplify is a set of tools and services that helps develop and deploy scalable full-stack web and mobile applications. It is comparable to Elastic Beanstalk for web and mobile apps.
- Backend features: authentication (Cognito), storage (S3), APIs (REST and GraphQL), CI/CD, pub/sub, analytics, AI/ML predictions, monitoring.
- Frontend: connect web frameworks (React, Vue, Angular, Next.js…) and mobile apps (iOS, Android, Flutter, Ionic…) to the backend with the Amplify libraries.
- Amplify Hosting: connect the source code from GitHub, Bitbucket, GitLab (or upload it directly). Every push is built and deployed to a global CDN (CloudFront), with branch environments, pull request previews and custom domains. It also hosts server-side rendered apps (Next.js, Nuxt).
AWS Device Farm
AWS Device Farm tests Android, iOS and web apps on real phones and tablets hosted by AWS.
- Automated testing: run test suites (such as Appium) across many real devices at once, and get logs, screenshots and videos.
- Remote access: interact with a real device from a browser, to reproduce a bug on a specific phone model.
- Device Farm runs in the us-west-2 (Oregon) Region.
Not in the course slides
Device Farm is on the exam guide's in-scope list but not in the course slides. This section is written from the AWS documentation.
Real-world examples
- A start-up builds a React app with Amplify: sign-up with Cognito, file uploads to S3, a GraphQL API, and a new deployment on every push to GitHub.
- A bank runs its mobile app's tests on 50 real Android and iOS devices in Device Farm before each release.
Exam tips
- "Build and deploy a full-stack web or mobile app quickly, with auth, storage and APIs" → AWS Amplify.
- "Host a static or Next.js site with CI/CD from a Git repository" → Amplify Hosting.
- "Test a mobile app on many real devices" → AWS Device Farm.
Common traps
- "Use Elastic Beanstalk for a mobile app backend with sign-in and storage." Amplify is the purpose-built option.
- "Device Farm uses emulators." It uses real, physical devices.
Check yourself
AWS Amplify: Cognito-based auth and S3 storage through the Amplify libraries, and Amplify Hosting for CI/CD from GitHub to a global CDN.
AWS documentation
Amazon API Gateway
API Gateway as the serverless front door for APIs, REST vs HTTP APIs, integrations with Lambda, HTTP and AWS services, endpoint types, security, throttling, caching and limits.
Serverless Application Repository
The AWS Serverless Application Repository for finding, deploying and sharing ready-made serverless applications defined with AWS SAM.