If 2015 saw the rise of Docker Containers & Micro-services then 2016 is undoubtedly going to be about Serverless architecture.
Late in 2015 AWS announced a preview of a service called AWS Lambda moving from a pure IaaS provider into the PaaS world with one feel swoop. Now AWS is releasing so many new services and features a week that you may have missed this, but in my opinion it is a game changer and I’m going to try to demonstrate why.
What on earth is Lambda?
“AWS Lambda is a compute service that runs your code in response to events and automatically manages the underlying compute resources for you.”
“When using AWS Lambda, you are responsible only for your code. AWS Lambda manages the compute fleet that offers a balance of memory, CPU, network, and other resources.”
Just think about those statements for a second,
In developer terms a Lambda is simply a single function with an input and output, forget microservices this is a nanoservice.
At the time of writing you can write your Lambdas in Node.js, Java or Python but I would expect support for other languages to be coming soon although I don’t have high hopes of .NET being supported anytime soon given the memory overhead.
AWS Lambda on it’s own is not very interesting but it’s the wealth of integrations with other AWS Services where the power comes.
Supported services:
- API Gateway
- Dynamo DB Streams
- S3
- SNS
- SES
- Cognito
- Cloud Trail
- CloudFormation
- CloudWatch
- Kinesis
More on Lambda Event Sources.
The pricing model is very interesting and is charged per 100 milliseconds and allocated memory.
Serverless
Enter a truly serverless architecture. To make this possible the key integration is with API Gateway which allows to execute Lambas in response to incoming HTTP requests, meaning you’re entire API backend can be developed this way (without a single EC2 Instance, or Docker container in sight).
Single Page Application Example
I’m going to demonstrate at a high level how you could implement a completely serverless single page application using just a few AWS services.
Given your typical single page application you would need to use the following AWS services:
- S3
- Responsible for storing static web assets HTML, JavaScript, CSS & Images.
- WebsiteHosting enabled
- API Gateway
- Used to define the HTTP Endpoints used by the Web Client
- Cloudfront
- CDN for serving web assets using S3 as the origin
- CDN for the API Gateway optimize latency between the end user and the origin
- AWS Lambda
- Functions which are run when API Gateway endpoints are called.
- DynamoDB
- Used to store the data
From a high-level this is what the architecture looks like.
Conclusions
I’ve attempted to demonstrate a very simple example about how you can make use of AWS Lambda today to implement a serverless architecture, however this only scratches the surface of what is possible and in my next post I will expand on this example and show how you can implement more complex serverless implementations.
It wasn’t all smooth sailing and they were a few things which I found annoying which I hope AWS will resolve in the future.
- AWS Certificate Manager doesn’t yet work with API Gateway
- AWS Code Deploy which is highly EC2 centric doesn’t yet provide a way to deploy your Lambdas or API Gateway resources so you’ll still need a Build Server to do this, however if you want to go pure serverless for your CI then check out Solanos Labs or Jenkins which both integrate with AWS Code Pipeline.
Nice post, I bookmark your blog because I found very good information on your blog, Thanks for sharing more information. Regards aws jobs in hyderabad.
ReplyDeleteThis is really such a great article. I really enjoyed it. Thank you for sharing.
DeleteFinal Year Project on Cloud Computing
JavaScript Training in Chennai
Final Year Projects for CSE
JavaScript Training in Chennai
Nice Information regarding Serverless Architecture with AWS Lambda my sincere thanks for sharing this post Please continue to share this kind of post
ReplyDeleteAWS Training in BTM Layout
nice blog has been shared by you. before i read this blog i didn't have any knowledge about this. but now i got some knowledge. so keep on sharing such kind of an interesting blogs.
ReplyDeleteSelenium Training in Bangalore
Nice information. Thank you for sharing such post...!
ReplyDeleteVery nice post. Awesome article... Really helpful...!
ReplyDeleteNice Blog
ReplyDeleteIot Training in Bangalore
Iteanz
usefull and awesome article.
ReplyDeletevery nice was useful
ReplyDeletevery nice blog It was useful
ReplyDelete
ReplyDeletehelpful information, thanks for writing and share this information
freelance adwords specialist
Nice article
ReplyDeleteartifical intelligence training in bangalore
aws training in bangalore
nice blog
ReplyDeleteandroid training in bangalore
ios training in bangalore
Appreciating the persistence you put into your blog and detailed information you provide.
ReplyDeleteIt’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.
AWS Training in Chennai
This is extremely great information for these blog!! And Very good work. It is very interesting to learn from to easy understood. Thank you for giving information. Please let us know and more information get post to link.
ReplyDeleteWeblogic Application Server training
ReplyDeleteI Just Love to read Your Articles Because they are very easy to understand.Very Helpful Post And Explained Very Clearly About All the things.Very Helpful. Coming To Our Self We Provide Restaurant Equipment Parts Through Out US At Very Affordable Prices And Also We Offer Same Day Shipping In US.We Offer Only Genuine Products.Thanks For Posting.Have a Nice Day!
I have read your blog and i got a very useful and knowledgeable information from your blog.its really a very nice article.You have done a great job . If anyone want to get
ReplyDeleteNetworking Training in Chennai | Hibernate Training in Chennai.
This Blog is very helpful and useful,came to know that i should be strong in my basics and this blog helps me to improve it,Chicago Immediate Care Services Provided by Us.Thanks For Posting.I Am refereed by my friend to this blog and i also want to refer my other friends to this blog.
ReplyDeleteHadoop concepts, Applying modelling through R programming using Machine learning algorithms and illustrate impeccable Data Visualization by leveraging on 'R' capabilities.With companies across industries striving to bring their research and analysis (R&A) departments up to speed, the demand for qualified data scientists is rising.
ReplyDeletedata science training in bangalore
Big Data and Hadoop training Unlike traditional systems, Big Data and Hadoop enables multiple types of analytic workloads to run on the same data, at the same time, at massive scale on industry-standard hardware.myTectra Big Data and Hadoop training is designed to help you become a expert Hadoop developer. myTectra offers Big Data Hadoop Training in Bangalore using Class Room.
hadoop training in bangalore
Looking for best Machine Learning Training in Bangalore then join myTectra the leader in Machine Learning Training in Bangalore. Classroom & Online Training
machine learning training in bangalore
Learned a lot from your blog. Good creation and hats off to the creativity of your mind. Share more like this.
ReplyDeleteAWS Training institutes in Chennai | AWS courses in Chennai | AWS Training Chennai | AWS Training center Chennai
Expected to form you a next to no word to thank you once more with respect to the decent recommendations you've contributed here.
ReplyDeletenebosh courses in chennai
This Blog provides more than enough a very great blog...
ReplyDeleteVijay Devarakonda Height
Well with your permission let me grab your RSS feed to keep updated with forthcoming post. Thanks a million, and please keep up the gratifying work.
ReplyDeleteindustrial course in chennai
I believe that your blog will surely help the readers who are really in need of this vital piece of information. Waiting for your updates.
ReplyDeleteBest TOEFL Coaching Institute in Tambaram
TOEFL Course in Tambaram East
TOEFL Centres in Pallavaram
TOEFL Centres in Shollinganallur
TOEFL Training at Padur
TOEFL Classes in OMR
TOEFL Classes in Navalur
I am really enjoying reading your well written articles.
ReplyDeleteIt looks like you spend a lot of effort and time on your blog.
I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..
Hadoop Training in Chennai
Big Data Training in Chennai
Big Data Course in Chennai
big data courses in bangalore
hadoop training institutes in bangalore
Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Best Travels in Madurai | Tours and Travels in Madurai | Madurai Travels
ReplyDeleteI wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
ReplyDeletePHP Training in Chennai
PHP Course in Chennai
Web Designing Course in chennai
Hadoop Training in Chennai
German Language Classes in Chennai
PHP Training in Porur
PHP Training in Adyar
Information from this blog is very useful for me, am very happy to read this blog Kindly visit us @ Luxury Watch Box | Shoe Box Manufacturer | Candle Packaging Boxes
ReplyDeleteReally useful information. Thank you so much for sharing.It will help everyone.Keep Post. RPA training in chennai | RPA training in Chennai with placement | UiPath training in Chennai | UiPath Chennai
ReplyDeleteI think things like this are really interesting. I absolutely love to find unique places like this. It really looks super creepy though!!
ReplyDeletemachine learning training in chennai
artificial intelligence and machine learning course in chennai
machine learning with python course in chennai
best machine learning institutes in chennai
Thanks for sharing informative article with us..
ReplyDeleteHibernate Training in Chennai
Hibernate Training
hibernate training in Velachery
hibernate training in Thiruvanmiyur
hibernate training in Tambaram
Spring Training in Chennai
clinical sas training in chennai
DOT NET Training in Chennai
QTP Training in Chennai
LoadRunner Training in Chennai
Fantastic blog!!! Thanks for sharing with us, Waiting for your upcominga data.
ReplyDeleteDigital Marketing Course in Chennai
Digital Marketing Course
digital marketing training institute in chennai
Digital Marketing Training in Chennai
Digital marketing course in Velachery
Digital marketing course in Adyar
Python Training in Chennai
Software testing training in chennai
JAVA Training in Chennai
Thanks for sharing this information to our vision.
ReplyDeleteSpoken English Classes in Chennai
Spoken English in Chennai
Top 10 Spoken English Classes in Chennai
Best IELTS Coaching in Chennai
IELTS Coaching Centre in Chennai
English Classes in Mumbai
English Speaking Classes in Mumbai
Best IELTS Coaching in Mumbai
IELTS Coaching in Mumbai
Spoken English Classes in Anna Nagar
This is really too useful and have more ideas and keep sharing many techniques. Eagerly waiting for your new blog keep doing more.
ReplyDeleteRPA Training in Chennai
R Training in Chennai
Automation Anywhere Training in Chennai
RPA Training in Porur
RPA Training in OMR
RPA Training in Adyar
RPA Training in Anna Nagar
TreasureBox is operated by a group of young, passionate, and ambitious people that are working diligently towards the same goal - make your every dollar count, as we believe you deserve something better.
ReplyDeletetv stand nz
bike stand nz
sofa bed nz
A very nice post. Thanks for sharing such a piece of valuable information...
ReplyDeleteAWS Training in Marathahalli
AWS Training in Bangalore
RPA Training in Kalyan Nagar
Data Science with Python Training Bangalore
AWS Training in Kalyan Nagar
RPA training in bellandur
AWS Training in bellandur
Marathahalli AWS Training Institues
Kalyan nagar AWS training in institutes
Data Science Training in bellandur
I feel satisfied to read your blog, you have been delivering a useful & unique information to our vision.keep blogging.
ReplyDeletesalesforce Training in Bangalore
uipath Training in Bangalore
blueprism Training in Bangalore
Nice Blog
ReplyDeleteFor Data Science training in Bangalore, Visit:
Data Science training in Bangalore
Your post is just outstanding! thanx for such a post,its really going great and great work.
ReplyDeletepython training in kalyan nagar|python training in marathahalli
selenium training in marathahalli|selenium training in bangalore
devops training in kalyan nagar|devops training in bellandur
phthon training in bangalore
I read your post and got it quite informative. I couldn't find any knowledge on this matter prior to. I would like to thanks for sharing this article here. Best AWS Training in Delhi
ReplyDeleteThe article is so informative. This is more helpful for our
ReplyDeletebest software testing training in chennai
best software testing training institute in chennai with placement
software testing training
courses
software testing training and placement
software testing training online
software testing class
software testing classes in chennai
best software testing courses in chennai
automation testing courses in chennai
Thanks for sharing.
Good post!Thank you so much for sharing this lovely article.It was so good to read and useful to upgrade my understanding...
ReplyDeletesalesforce Training in Bangalore
uipath Training in Bangalore
blueprism Training in Bangalore
Great Article
ReplyDeleteIEEE Projects on Cloud Computing
Final Year Projects for CSE
JavaScript Training in Chennai
JavaScript Training in Chennai
Wonderful Blog!!! Your post is very informative about the latest technology. Thank you for sharing the article with us.
ReplyDeleteaws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
Nice information, want to know about Selenium Training In Chennai
ReplyDeleteSelenium Training In Chennai
Data Science Training In Chennai
Protractor Training in Chennai
jmeter training in chennai
Rpa Training Chennai
Rpa Course Chennai
Selenium Training institute In Chennai
Python Training In Chennai
Rpa Training in Chennai
ReplyDeleteRpa Course in Chennai
Blue prism training in Chennai
Data Science Training In Chennai
Data Science Course In Chennai
Data Science Course In Chennai
A very nice post. Thanks for sharing such a piece of valuable information...
ReplyDeleteaws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
Thanks for sharing an informative article. keep update like this...
ReplyDeleteaws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
Great Article. Thank you for sharing! Really an awesome post for every one.
ReplyDeleteProject Centers in Chennai
JavaScript Training in Chennai
Final Year Project Domains for IT
JavaScript Training in Chennai