AWS Server Less Technology (Boon for software entrepreneur)
To overcome the server management issue and to eliminate the server configuration, we can use the AWS Lambda for compute, AWS web service for to provide
server based environment and AWS S3 Bucket for Storage. It will help us to develop dynamic website.
- AWS Lambda – Compute (Overcome Server Management Problem)
- AWS API Gateway –Provides Server Environment (Overcome Server Management Problem)
- AWS Dynamo DB/ S3 Bucket - Storage (Enhance Storage and Fast Hosting)
- AWS Elastic Cache-Caching Mechanism for fast Retrieval. (Overcomes Server loading problem)
AWS
Lambda:
- AWS Lambda is a compute service that lets you run code without provisioning or managing servers.
- It executes your code only when needed and scales automatically, from a few requests per day to thousands per second.
- It runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging.
- We need to code in one of the languages that AWS Lambda supports (currently Node.js, Java, C# and Python).
- In java, it is a function implemented by Request Handler functional Interface, this interface is provided by AWS Java SDK.
AWS API
Gateway:
- Amazon API Gateway helps developers to create and manage APIs to back-end systems running on Amazon EC2, AWS Lambda, or any publicly addressable web service.
- Amazon API Gateway to expose the Lambda function, This API will be accessible on the internet with added security.
AWS
Dynamo DB:
- It is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale.
- It is a fully managed cloud database and supports both document and key-value store models.
- Amazon Dynamo DB Accelerator (DAX) is a fully managed, highly available, in-memory cache that can reduce Amazon Dynamo DB response times from milliseconds to microseconds, even at millions of requests per second.
AWS
Elastic Cache:
- It is a web service that makes it easy to deploy, operate, and scale an in-memory data store or cache in the cloud.
- This service improves the performance of web applications by allowing you to retrieve information from fast, managed, in-memory data stores, instead of relying entirely on slower disk-based databases
- In java, Jedis library is used to provide Elastic cache functionality.
- It will cache the transaction data in terms of key and value pair.
Elastic
cache Connection establishment code.
Conclusion:
This Services
makes our project more scalable and flexible, it totally reduces
server based configuration.
It increases
server response time three times faster than earlier methodology.
It makes
developer to concentrate only on business logic. In my next bog, I will explain about the sample POC about AWS Integration with Java
AWS
Integration with Eclipse:
The AWS
Toolkit for Eclipse is an open source plug-in for the Eclipse
integrated development environment (IDE) that makes it easier for
developers to develop, debug, and deploy Java applications that use
Amazon Web Services.
Use this
link for to add AWS plugin with eclipse