[Music] hello everyone and welcome to intellipat in this video you will learn about the in-demand service of AWS which is the Amazon API Gateway first we will understand what an application programming interface is then we'll move on to the types of API and then we'll talk about the Amazon API Gateway and its needs and use cases and finally we will see about the pricing of API Gateway but before we begin please make sure that you subscribe to our Channel and hit the Bell icon for regular updates now let us move on to the first topic what is an API the formal definition for an API goes something like this an API is a set of definitions and protocols for building and integrating application software API stands for application programming interface but in simple terms it is an intermediary between two applications that allows them to communicate with each other each time you are using a web browser you are calling an API that helps you interact with a server where the page that you want resides another real-time example is delivery services that have their own app inside that app they use Google Maps API to pull out a current delivery status for a delivery any website where you make payments at the end includes several payment options like pay through PayPal or pay through Google pay Etc the website here uses PayPal's API and allows its users to pay through the application that is PayPal now moving on to the next topic types of API the following are the different types of apis first we have HTTP API it is an application programming interface for a web server or a web browser it is related to web development usually limited to a web applications client-side it may be public or private private HTTP apis require something called as an access token now coming to rest API it stands for representational State transfer API not all HTTP apis are necessarily rest apis this too follow a relation which can be described as a rest API is an HTTP API but not all HTTP apis are rest apis rest apis are flexible when compared to http apis here the data is not tied to methods and resources and hence these types of data are able to handle multiple types of calls and return different data formats now moving on to websocket API this API allows you to create web sockets which is capable of bi-directional full duplex communication over a persistent TCP connection this API is written in JavaScript these are used to build real-time two-way communication applications such as chat apps and streaming dashboards now let us move to the next topic what exactly is an API Gateway now an API Gateway is like an API management tool that is essentially a computer software that sits between a client and a collection of backend Services it is a single entry point for all the backend apis and micro Services an API is useless unless it is delivered with consistency hence the API Gateway is built to provide security scalability and high availability to sum it up the API Gateway takes all the API requests from the client gauges which service are really required and combines them into a seamless experience for the user some of the top API gateways are a PG mulesoft axway and 3 scale now that we have a rough understanding of what an API Gateway is now let us move to the next topic which is what is Amazon API Gateway as we all know Amazon web services is the world's leading cloud provider and Amazon also provides its own variant of an API Gateway AWS API Gateway is an AWS service for creating publishing maintaining monitoring rest apis it also monitors HTTP and websocket apis as well API developers can create apis that access AWS or other web services as well as data stored in the AWS cloud as an API Gateway API developer you can create apis for use in your own client applications now let us understand the working of Amazon API Gateway typically in all architecture that you see with a Lambda function right before the Lambda function where the working code is deployed you would use an API Gateway so why should you request through an Amazon API Gateway let us understand about it most applications today are built around rest apis so you have the get post put delete requests you make an API call and get your things done however the management of the rest apis is not that easy you may have to take care of authentication and authorization you may have to set limits like rating limits quotas etc for your API consumers you may have to take care of implementing multiple versions of your API you would also need to monitor your API calls to improve your performance you would also want to case your API requests so how would you maintain and manage all of these features how about a fully managed service with AWS Auto scaling that acts as an abstract layer to your apis this is how the Amazon API works it works as an abstract layer that takes care of all your apis now let us move on to the next topic what is the need for Amazon API Gateway in Enterprises that follow devops methodologies what developers usually do is use the already existing micro services to build and deploy apps in a fast-paced iterative way these micro services use apis to communicate with the app and when this application uses many microservices many apis are used for communication between the app and microservices managing all these apis becomes a hassle this is where the AWS API Gateway comes into the picture now let us see some of the use cases of API Gateway first we have vogue vogue is a famous fashion and lifestyle magazine one of its websites photovol uses the Amazon API Gateway photo Vogue is a photography website that allows users to upload photos on their site with a chance of being picked up by photographers agencies every picture that gets uploaded will be carefully reviewed by the editorial team to ensure the highest quality images possible and the next use case we have is Fox network we all know that Fox network has fox now and it is a very well organized television network Fox digital consumers group is a team within Fox network that handles the streaming of digital content to Consumers via the web Via Mobile and setup devices it uses containerized micro Services running on AWS to host the website as well as deliver fox now now moving on to the last topic of this video AWS API Gateway pricing you only pay for Amazon API Gateway Services only when your apis are in use you don't need to pay minimum fees or upfront payments the free tier for the Amazon API Gateway service includes 1 million HTTP requests 1 million rest API calls 1 million messages and 750 000 connections per minute and you would get this per month for up to 12 months now let me conclude this video we have learned that if an application is handling many apis we need to use a service that enables us to take care of issues that arise from handling many apis at once this is where the Amazon API Gateway comes in handy since this service is used by Enterprises like fox now and Bo it establishes the fact that it is a very reliable service it is also a cost effective solution to many app problems as the cost for 1 million requests is as low as one dollar lastly when we use the Amazon API Gateway along with other AWS services like AWS Lambda and AWS elastic containerized Services the application gives a smooth user experience that is it from my side guys thank you for watching have a nice day just a quick info guys if you want to make a career in cloud computing then intellipad provides an advanced certification on cloud and devops by IIT Madras this course is taught by industry experts and IIT Madras faculty this course is designed to upskill and land your dream job foreign