O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

Using Serverless Architectures to build and provision modern infrastructures​

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Carregando em…3
×

Confira estes a seguir

1 de 14 Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Semelhante a Using Serverless Architectures to build and provision modern infrastructures​ (20)

Anúncio

Mais de Ramit Surana (18)

Mais recentes (20)

Anúncio

Using Serverless Architectures to build and provision modern infrastructures​

  1. 1. Using Serverless Architectures to build and provision modern infrastructures Ramit Surana @ramitsurana /in/ramitsurana
  2. 2. Agenda • Introduction to AWS Lambda • Serverless Architecture • Demo • Architecture • Chalice • Monitoring • API Perfomance and Measurements • Learningz • Useful Services • Other Options
  3. 3. What comes to mind ?
  4. 4. Introduction to AWS Lambda • Service based on docker containers • Also called Function as a Service • Available in Node.js (JavaScript), Python, Java (Java 8 compliant) and C # (.NET Core), and Go. • Cost Involved: - First 1 million requests free - $0.20 per 1 million requests
  5. 5. Serverless Architectures • Distribution of API Calls into Functions • Usage of external services from cloud to allocate data • Pay as you go model @Copyright by Martin Fowler
  6. 6. Demo Time !
  7. 7. Architecture Website API Gateway S3 DynamoDB/RDS/ElasticacheLex Website Data
  8. 8. Chalice • Integrates well with other AWS Services • Can deploy using chalice deploy • Built using Python • Other Frameworks are Serverless (JAWS), Zappa etc
  9. 9. Monitoring • Individual Lambda can be monitored only for last 24 hrs • Use AWS Services like CloudWatch & CloudTrail • IOPipe • Datadog
  10. 10. API Performance Measurements • Jmeter • Use of Curl
  11. 11. Other Options • Azure Functions • GCP Functions • Oracle Cloud Functions • OpenWhisk • Iron.io • Webtask.io • Nuclio
  12. 12. Learnings Pros • Serverless is really powerful ! • Great Performance • Highly Scalable • Low Cost • Stateless Cons • Monitoring and Debugging is hard • Lack of Fine Grained Control • Cold start issues • Timeout Issues • Vendor Lock-In
  13. 13. References • Chalice - https://github.com/aws/chalice • SAM - https://github.com/awslabs/serverless-application-model • Python-lambda - https://github.com/nficano/python-lambda • AWS Lambda - https://aws.amazon.com/de/lambda/features/ • Jmeter - https://jmeter.apache.org/ • Cloudwatch - https://aws.amazon.com/de/cloudwatch/ • FaaS - https://martinfowler.com/articles/serverless.html • https://github.com/ramitsurana/the-serverless-stuff
  14. 14. Thank You for joining :)

×