25
Understanding AWS Amplify
AWS Amplify is a tool built for AWS native application development - both front-end and back-end development. Amplify makes development process easier for developers where a set of commands and interactive walk-through via CLI.
AWS Amplify is a set of tools and services that can be used together or on their own, to help front-end web and mobile developers build scalable full stack applications, powered by AWS. With Amplify, you can configure app backends and connect your app in minutes, deploy static web apps in a few clicks, and easily manage app content outside the AWS console.
Amplify supports popular web frameworks including JavaScript, React, Angular, Vue, Next.js, and mobile platforms including Android, iOS, React Native, Ionic, Flutter. Get to market faster with AWS Amplify.
Amplify broadly classifies the features into four categories -
- Develop
- Deliver
- Manage
- Tools
The key aspects which are used in the development phase of the project.
- Authentication - User management and the workflows such as sign-up, sign-in, forgot password with a managed user pool (directory) on AWS or external identity providers.
- Storage - Storage of data which includes both app/user data stored on AWS managed NoSQL database (DynamoDB) and also media files on a object storage service (S3).
- GraphQL API - AWS managed serverless offering for GraphQL interface for API integration.
- REST API - AWS managed API Gateway for deploying your REST APIs for integration.
- DataStore - The data which is stored on the client side for caching, offline storage and synchronization with server.
- Interactions - Chatbot offering by AWS leveraging AWS LEX for building and integrating Chat bots.
- Push Notifications - Notifications on the app which is sent to targeted audience.
- Functions - Functions which hold the business logic of the application.
- PubSub - For all the communications over MQTT for broadcast, IoT data streaming.
AWS Amplify feature | AWS Service |
---|---|
Authentication | Amazon Cognito |
Storage | Amazon DynamoDB , Amazon S3 |
GraphQL API | AWS AppSync |
REST API | Amazon API Gateway |
DataStore | Used by AWS AppSync client |
Interactions | AWS Lex |
Push Notifications | Amazon Pinpoint |
Functions | AWS Lambda |
PubSub | AWS IoT |
Predictions | Amazon Translate, Amazon Transcribe, Amazon Comprehend, Amazon Rekognition, Amazon Textract |
The deliverable needs for the modern day application is the need of hosting the web application, registering domains, CI/CD workflows for the better release process.
AWS Amplify feature | AWS Service |
---|---|
Hosting | Amazon S3, Amazon CloudFront |
CI/CD | AWS Amplify console |
Monitoring | Amazon CloudWatch |
In re:Invent 2020, AWS launched Amplify Admin UI which eases the management process where the user-management and content management can be handled. Amplify also provides a sandbox environment to get started.
AWS Amplify provides Amplify CLI and also Amplify provides dedicated SDKs on different frameworks - JavaScript SDK, ReactJS, VueJS, Android, iOS, Flutter
- Develop full-stack serverless applications.
- Host web applications.
- Managed CI/CD pipelines.
- Team collaborations with environments.
- Building custom AWS resources with CloudFormation Custom Resources.
- Developing serverless containerized applications with Docker and AWS Fargate.
- Developing custom plugins with Amplify CLI.
- Mocking and testing the backend service on the local system before deploying or pushing to your AWS Account.
AWS Amplify is a full feature packed tool for your application need. This is not only a developer's pal but also management's pal. Amplify not only eases integration with AWS serverless but also allows management process simplified.
25