Open In App

Introduction to AWS Amplify

Amazon Web Services are some of the most useful products we have access to.  One such service that is becoming increasingly popular as days go by is AWS Amplify. It was released in 2018 and it runs on Amazon’s cloud infrastructure. It is in direct competition with Firebase, but there are features that set them apart.

Why is it needed?

User experience on any application is the most important aspect that needs to be taken care of. AWS Amplify helps unify user experience across platforms such as web and mobile. This makes it easier for a user to choose which one would they be more comfortable with. It is useful in case of front end development as it helps in building and deployment. Many who use it claim that it actually makes full-stack development a lot easier with its scalability.



Main features:

Various AWS services are used for various functionalities. AWS Amplify offers. The main components are libraries, UI components, and the CLI tool chain. It also provides static web hosting using AWS Amplify Console.

Let’s have a brief look at some of these components:



Libraries:

The libraries are powered by AWS services. The help in the production of applications immensely, especially in the case of the back-end.

UI Components:

AWS Amplify provides drop-in UI components for Authentication, Storage, and Interactions. 

Static Web Hosting:

From a custom domain to a free HTTPS certificate, building and deploying a full-stack website is fully covered. It ensures a continuous workflow along with global availability. 

Deployment takes only a few steps compared to many other alternatives. During the development stage, the Amplify framework is used to configure the back-end requirements and connect with the required application. For the deployment part, Amplify Console is used to connect to a repository with the required files or directly upload them. After that, the build settings are determined and then it goes to deployment.

Installation:

Pre-requisites:

Follow the below guide for a successful installation of AWS Amplify:

Once these are downloaded, you can install Amplify Command-Line-Interface by the following method.

Installing it takes only one command after which you can launch it to configure as per your needs.

First, open your Node.js command prompt:

Node.js command prompt

Now, you can type the following command to start the installation process:

npm install -g @aws-amplify/cli 

This process can take anywhere between a few minutes to more than 10 minutes but it won’t go on for too long.

The installation 

Once this gets done, you have successfully completed the installation process!

Now to link your AWS account with this type:

amplify configure 

Note: I typed the clear command to clear the screen, so it is okay if yours isn’t clear like above.

This will prompt you to sign in to your AWS account.

Gets redirected to this page if you haven’t signed in

Sign in as a root user, hence this will successfully establish a connection. Now you are ready to work with AWS Amplify!

References:

 
Article Tags :