Amazon Web Services offers scalable, reliable, and inexpensive cloud computing services. Below are some salient features provided by AWS.
- Secure cloud services platform
- Compute power
- Database storage
- Content delivery
- Pay for what you use
- AWS Account
- Active internet connection
- CLI usage
It is the most commonly used service of AWS and catered deployment of various applications as per AMI configured before creating an EC2 Instance.
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure and resizable compute capacity in the cloud.
It is designed to make web-scale cloud computing easier for developers.
Here are some of the important steps while setting up new EC2 Instance->
Login to EC2 via CLI
$ ssh -i ec2-key.pem firstname.lastname@example.org
Switch to ROOT
Amazon Relational Database Service is a web service that makes it easier to set up, operate, and scale a relational database in the AWS Cloud. It provides a resizable, cost-efficient capacity for an industry-standard relational database and manages everyday database administration tasks. After setting up RDS, you can be logged in to the local tool(SQL Developer/ MY SQL Workbench) and copy RDS's endpoint with Username/Password configured while setting RDS.
Amazon ElastiCache allows you to seamlessly set up, run, and scale popular open-Source compatible in-memory data stores in the cloud. This service is commonly used to avoid unnecessary calls to RDS and improve the user experience by displaying the data faster.
There are two types of cluster engine supported by AWS ElastiCache
Login to Redis locally via this command (First port can be anything except 6379 as it will direct AWS Redis to local Redis installed on the machine) and after first port, just paste the endpoint of Redis.
ssh -f -i ec2-key.pem -N -L 6378:demo-redis.xxxx.xx.0001.xxxx.cache.amazonaws.com:6379 email@example.com
Amazon Lex provides advanced deep learning functionalities of ASR(Automatic Speech Recognition) & NLU(Natural Language Understanding). With the use of Lex, we can build chatbots that can converse using speech and text as mediums. There are a few components of BOT that need to be understood to build it.
- Intent:- It is a particular goal that the user wants to achieve.
- Utterances:-These are spoken/typed phrases that invoke content.
- Slots:- Data provided by the user to fulfill the intent.
- Prompts:-These are queries/questions asked by the user to input the data.
Moreover, there are VERSIONS linked with bots, intents, and custom slots. With the help of versions, we can make changes in the dev version without any impact occurring in PROD; hence it helps to make Immutable versions of bot that is created using AWS Lex.
This AWS service is used to Create, Publish, Maintain, and Monitor secure Application Programming Interfaces(API). Moreover, it provides an easy interface for code running on AWS Lambda. Here are some of the pointers that explain the need for this service.
- Efficient API Development.
- Performance at Scale.
- Cost-saving at scale.
- Flexible Security Controls.
This service enables us to make APIs on the go with a few clicks; also, we can use the Mocking approach to make dummy routes without any original data. In this faking data is used and bouncing back to without any activity.
Dynamo DB is a NO SQL database provided by Amazon Web Services. The main job of Dynamo DB is to Store & Retrieve any amount of data and serve any level requests of traffic. In this, there are different terminologies as that of a regular database. Secondary Indexes is a Data Structure that contains a subset of attributes from a table.
- Partition & Sort Keys (Partition key is single primary key composed of one attribute only)
Local & Global Secondary Indexes
- Local Index: Index with same partition key as of base table but different sort key
- Global Index: In the global index, both the partition key and sort key can differ from that of the base table.