Розглянемо невелику історію впровадження AWS Lambda в існуючий (живий) проєкт. Визначимо причини вибору “безсерверної” архітектури. Розберемо цікаві нюанси, з якими зіштовхнулась наша команда.
План:
- Що таке AWS Lambda?
- Навіщо нам була потрібна AWS Lambda?
- Плюси впровадження AWS Lambda
- Мінуси впровадження AWS Lambda
- Результати впровадження AWS Lambda
2. ● 12+ years of experience in IT
● 5+ years experience of AWS
● 3+ years experience in Business Intelligence
Vitalii
Hryhoryshyn
Tech Lead in Ven Commerce Ltd.
3. Short
Agenda
What is AWS Lambda?
Why did we need it?
Disadvantages of Lambda & how we solve it
Advantages of Lambda & results of implementation
44. Serverless application
Advantages: no need for server, low cost, scalable
Disadvantages: new “unknown” technology, no
ready development environment
AWS Lambda
Small project, using PHP & MySQL
Possible frameworks: laravel, yii
Advantages: PHP & MySQL
Disadvantages: server is needed
Microservice
Microservice VS AWS Lambda
76. what did we get from Lambda?
Advantages
of AWS Lambda
77. no monolith
Security Patches
For any web application we have
updates of core, that can be
really painful sometime
ENV maintenance
For any web application we
should have some OS,
Nginx/Apache, Programming
language. etc
Regression testing
No relation to main workflow of the
web application
Less complexity
No hard relations to the main
project
85. allows to keep services and
data safe
IAM
allows to monitor
applications, prepare
metrics and alarms
CloudWatch
allows to prepare template
for easier deployment of
services
CloudFormation
allows easily execute small
amount of code to solve
simple business issues
Lambda
allows to store large amount
of data
S3
allows to build apps with a
few related Lambdas
Step Function
AWS Ecosystem