Explain how to build and run applications and services without having to manage infrastructure. In this slides, we show how you can build web applications without server and in a faster and agile way. We introduce how you can use AWS Lambda, API Gateway, Cognito and DynamoDB to implement a 3-Tier serverless architectural patterns.
"How to optimize the architecture of your platform" by Julien SimonTheFamily
You want to launch your online platform and from a technical perspective you are wondering where to start and how to optimize your architecture?
Cloud Computing presents several advantages such as scaling whenever you want your app our your Website. The hardest part is to define where to begin!
During this 45 minutes workshop, Julien Simon will share with you the best practices to scale your platform from 0 to millions of users. He will present:
- How to combine efficiently the tools Amazon Web Services provides,
- How to set up the best architecture for your platform
- How to scale your infrastructure in the Cloud.
Before joining AWS, Julien worked as CTO of Viadeo and Aldebaran Robotics. He also spent more than 3 years as VP Engineering at Criteo. He is particularly interested by architecture, performance, deployment, scalability and data.
"How to optimize the architecture of your platform" by Julien SimonTheFamily
You want to launch your online platform and from a technical perspective you are wondering where to start and how to optimize your architecture?
Cloud Computing presents several advantages such as scaling whenever you want your app our your Website. The hardest part is to define where to begin!
During this 45 minutes workshop, Julien Simon will share with you the best practices to scale your platform from 0 to millions of users. He will present:
- How to combine efficiently the tools Amazon Web Services provides,
- How to set up the best architecture for your platform
- How to scale your infrastructure in the Cloud.
Before joining AWS, Julien worked as CTO of Viadeo and Aldebaran Robotics. He also spent more than 3 years as VP Engineering at Criteo. He is particularly interested by architecture, performance, deployment, scalability and data.
Architecting for High Availability - Pop-up Loft Tel AvivAmazon Web Services
AWS provides a platform that is ideally suited for building highly available systems, enabling you to build reliable, affordable, fault-tolerant systems that operate with a minimal amount of human interaction. This session covers many of the high-availability and fault-tolerance concepts and features of the various services that you can use to build highly reliable and highly available applications in the AWS Cloud: architectures involving multiple Availability Zones, including EC2 best practices and RDS Multi-AZ deployments; loosely coupled and self-healing systems involving SQS and Auto Scaling; networking best practices for high availability, including Elastic IP addresses, load balancing, and DNS; leveraging services that inherently are built with high-availability and fault tolerance in mind, including S3, Elastic Beanstalk and more.
AWS CloudFormation template with single & redundant systemNaoya Hashimoto
* Use CloudFormation to create Stacks composed of VPC, Internet Gateway, Route Table, ELB, EC2 Instance, EBS Volumes
* Single pattern with EC2 Instances WEB server and DB server with the same AZ
* Redundant pattern with EC2 Instances WEB server and DB server with multi-AZ
Learn how AWS services can make it easier for you to rapidly release new features, help you avoid downtime during deployment, and handle the complexity of updating your applications.
A presentation on the microservice Lambda by AWS for creating Lambda packages in the Python language and examples of good and bad use cases for using lambda.
Presented by the AWS Atlanta Meetup group
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWSAmazon Web Services
Based on your specific needs and the nature of your application, AWS offers a variety of services for getting your application up and running. You may want to launch and scale a web application or you may want to host a microservices application using Docker containers. How do you decide which service to use and when?
In this webinar, we will provide an overview of the AWS services that help simplify launching and running your application in the cloud. We will discuss the strengths of each service and provide a framework for understanding when to use them.
Learning Objectives:
Understand the primary services for deploying your application on AWS
Learn the basics of AWS Elastic Beanstalk, AWS CodeDeploy, and Amazon EC2 Container Service
Gain an understanding of the strengths of each service and when to use them
Who Should Attend:
Developers, DevOps Engineers, IT Professionals
With AWS Lambda, you can easily build scalable microservices for mobile, web, and IoT applications or respond to events from other AWS services without managing infrastructure. In this session, you’ll see demonstrations and hear more about newly launched features. We’ll show you how to use Lambda to build web, mobile, or IoT backends and voice-enabled apps, and we'll show you how to extend both AWS and third party services by triggering Lambda functions. We’ll also provide productivity and performance tips for getting the most out of your Lambda functions and show how cloud native architectures use Lambda to eliminate “cold servers” and excess capacity without sacrificing scalability or responsiveness.
With AWS Lambda, you can easily build scalable microservices for mobile, web, and IoT applications or respond to events from other AWS services without managing infrastructure. In this session, you’ll see demonstrations and hear more about newly launched features. We’ll show you how to use Lambda to build web, mobile, or IoT backends and voice-enabled apps, and we'll show you how to extend both AWS and third party services by triggering Lambda functions. We’ll also provide productivity and performance tips for getting the most out of your Lambda functions and show how cloud native architectures use Lambda to eliminate “cold servers” and excess capacity without sacrificing scalability or responsiveness.
Architecting for High Availability - Pop-up Loft Tel AvivAmazon Web Services
AWS provides a platform that is ideally suited for building highly available systems, enabling you to build reliable, affordable, fault-tolerant systems that operate with a minimal amount of human interaction. This session covers many of the high-availability and fault-tolerance concepts and features of the various services that you can use to build highly reliable and highly available applications in the AWS Cloud: architectures involving multiple Availability Zones, including EC2 best practices and RDS Multi-AZ deployments; loosely coupled and self-healing systems involving SQS and Auto Scaling; networking best practices for high availability, including Elastic IP addresses, load balancing, and DNS; leveraging services that inherently are built with high-availability and fault tolerance in mind, including S3, Elastic Beanstalk and more.
AWS CloudFormation template with single & redundant systemNaoya Hashimoto
* Use CloudFormation to create Stacks composed of VPC, Internet Gateway, Route Table, ELB, EC2 Instance, EBS Volumes
* Single pattern with EC2 Instances WEB server and DB server with the same AZ
* Redundant pattern with EC2 Instances WEB server and DB server with multi-AZ
Learn how AWS services can make it easier for you to rapidly release new features, help you avoid downtime during deployment, and handle the complexity of updating your applications.
A presentation on the microservice Lambda by AWS for creating Lambda packages in the Python language and examples of good and bad use cases for using lambda.
Presented by the AWS Atlanta Meetup group
AWS January 2016 Webinar Series - Introduction to Deploying Applications on AWSAmazon Web Services
Based on your specific needs and the nature of your application, AWS offers a variety of services for getting your application up and running. You may want to launch and scale a web application or you may want to host a microservices application using Docker containers. How do you decide which service to use and when?
In this webinar, we will provide an overview of the AWS services that help simplify launching and running your application in the cloud. We will discuss the strengths of each service and provide a framework for understanding when to use them.
Learning Objectives:
Understand the primary services for deploying your application on AWS
Learn the basics of AWS Elastic Beanstalk, AWS CodeDeploy, and Amazon EC2 Container Service
Gain an understanding of the strengths of each service and when to use them
Who Should Attend:
Developers, DevOps Engineers, IT Professionals
With AWS Lambda, you can easily build scalable microservices for mobile, web, and IoT applications or respond to events from other AWS services without managing infrastructure. In this session, you’ll see demonstrations and hear more about newly launched features. We’ll show you how to use Lambda to build web, mobile, or IoT backends and voice-enabled apps, and we'll show you how to extend both AWS and third party services by triggering Lambda functions. We’ll also provide productivity and performance tips for getting the most out of your Lambda functions and show how cloud native architectures use Lambda to eliminate “cold servers” and excess capacity without sacrificing scalability or responsiveness.
With AWS Lambda, you can easily build scalable microservices for mobile, web, and IoT applications or respond to events from other AWS services without managing infrastructure. In this session, you’ll see demonstrations and hear more about newly launched features. We’ll show you how to use Lambda to build web, mobile, or IoT backends and voice-enabled apps, and we'll show you how to extend both AWS and third party services by triggering Lambda functions. We’ll also provide productivity and performance tips for getting the most out of your Lambda functions and show how cloud native architectures use Lambda to eliminate “cold servers” and excess capacity without sacrificing scalability or responsiveness.
Introduce AWS Lambda for newbie and Non-IT
อธิบาย ความเป็นมาของ Serverless และ AWS Lambda คืออะไร ดีอย่างไร เพื่อให้คนไม่รู้จักและคนที่ไม่ใช่ IT ได้เข้าใจง่ายๆ
Index
- What's Serverless
- What's AWS Lambda
- Working with AWS Lambda
- AWS Lambda Life-Cycle
- AWS Lambda Anatomy
- Beware Cold Start
- How to debug
- Do and Don't to implement
- Pricing structure and example
- Advantage/Disadvantage
Presentation is English Version
Blog is Thai Version : https://myifew.com/5166/understand-serverless-with-aws-lambda-for-newbie/
Get the EDGE to scale: Using Cloudfront along with edge compute to scale your...Amazon Web Services
You could use Cloud Front to deliver pages faster, however, customized processing still required requests to be forwarded back to compute resources at centralized servers, which may slow down the end user experience. This session shows how a combination of Cloud Front, and edge compute can help you scale out your resources in a much more effective way than you think.
Speaker: Anil Nair
Solution Architect, Amazon India
AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...Amazon Web Services
AWS Lambda lets you run code without provisioning or managing servers. We have introduced a few new features this year at re:Invent and would like to share with you some of the best practices.
This webinar will introduce you to scheduled AWS Lambda functions and how to use long running functions to handle large volume data ingestion and processing jobs. We will demonstrate how to use versioning to control which Lambda function version is being executed in your development, testing, and production environments. We will also show you how to run your Python code in AWS Lambda.
This session introduces Lambda@Edge, a new AWS Lambda feature that allows developers to perform simple computations at AWS edge locations in response to CloudFront events. This will be of interest to developers who want to build low-latency, customized web experiences. We cover product functionality and details of the programming model, and we walk through potential use cases.
In this session, you'll learn what’s new and hot with AWS Lambda. Come learn about what we’ve been working on and what we are planning for the future. You'll get a hands-on demonstration of some our newest features.
Do you want to run your code without the cost and effort of provisioning and managing servers? Find out how in this deep dive session on AWS Lambda, which allows you to run code for virtually any type of application or back end service – all with zero administration. During the session, we’ll look at a number of key AWS Lambda features and benefits, including automated application scaling with high availability; pay-as-you-consume billing; and the ability to automatically trigger your code from other AWS services or from any web or mobile app.
As serverless architectures become more popular, AWS customers need a framework of patterns to help them deploy their workloads without managing servers or operating systems.
As serverless architectures become more popular, AWS customers need a framework of patterns to help them deploy their workloads without managing servers or operating systems.
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)Amazon Web Services
Provisioning, scaling, and managing physical or virtual servers—and the applications that run on them—has long been a core activity for developers and system administrators. The expanding array of managed AWS cloud services, including AWS Lambda, Amazon DynamoDB, Amazon API Gateway and more, increasingly allows organizations to focus on delivering business value without worrying about managing the underlying infrastructure or paying for idle servers and other fixed costs of cloud services. In this session, we discuss the design, development, and operation of these next-generation solutions on AWS. Whether you're developing end-user web applications or back-end data processing systems, join us in this session to learn more about building your applications without servers.
Nell’era digitale dove la produzione software è centrale, velocità ed agilità sono le chiavi del successo. XPeppers aiuta le aziende a ridurre il tempo tra l’idea e la produzione combinando tecniche Lean, Agile, DevOps e l’uso del Cloud.
Il nostro modello di sviluppo prevede la misurazione del valore di business delle funzionalità, il Test-driven development, la Continuous delivery ed il concetto di Infrastructure as Code.
The analysis of large amounts of data equires database
NoSQL, software framework that supports distributed computing and search engine. On these two fronts Amazon Web Services provides us the services DynamoDB, Elastic MapReduce and Cloud Search
Amazon Web Services support Docker containers by Elastic Beanstalk service and with new Elastic Container Services. AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services. ECS is a highly scalable, high performance container management service that supports Docker.
The world of Cloud Computing is Hybrid! grows, in fact, the number of businesses that use this models to reduce costs, promote agility and speedup innovation. Eucalyptus allows to create hybrid solutions fully compatible with AWS using a shared API.
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfFlorence Consulting
Quattordicesimo Meetup di Milano, tenutosi a Milano il 23 Maggio 2024 dalle ore 17:00 alle ore 18:30 in presenza e da remoto.
Abbiamo parlato di come Axpo Italia S.p.A. ha ridotto il technical debt migrando le proprie APIs da Mule 3.9 a Mule 4.4 passando anche da on-premises a CloudHub 1.0.
Understanding User Behavior with Google Analytics.pdfSEO Article Boost
Unlocking the full potential of Google Analytics is crucial for understanding and optimizing your website’s performance. This guide dives deep into the essential aspects of Google Analytics, from analyzing traffic sources to understanding user demographics and tracking user engagement.
Traffic Sources Analysis:
Discover where your website traffic originates. By examining the Acquisition section, you can identify whether visitors come from organic search, paid campaigns, direct visits, social media, or referral links. This knowledge helps in refining marketing strategies and optimizing resource allocation.
User Demographics Insights:
Gain a comprehensive view of your audience by exploring demographic data in the Audience section. Understand age, gender, and interests to tailor your marketing strategies effectively. Leverage this information to create personalized content and improve user engagement and conversion rates.
Tracking User Engagement:
Learn how to measure user interaction with your site through key metrics like bounce rate, average session duration, and pages per session. Enhance user experience by analyzing engagement metrics and implementing strategies to keep visitors engaged.
Conversion Rate Optimization:
Understand the importance of conversion rates and how to track them using Google Analytics. Set up Goals, analyze conversion funnels, segment your audience, and employ A/B testing to optimize your website for higher conversions. Utilize ecommerce tracking and multi-channel funnels for a detailed view of your sales performance and marketing channel contributions.
Custom Reports and Dashboards:
Create custom reports and dashboards to visualize and interpret data relevant to your business goals. Use advanced filters, segments, and visualization options to gain deeper insights. Incorporate custom dimensions and metrics for tailored data analysis. Integrate external data sources to enrich your analytics and make well-informed decisions.
This guide is designed to help you harness the power of Google Analytics for making data-driven decisions that enhance website performance and achieve your digital marketing objectives. Whether you are looking to improve SEO, refine your social media strategy, or boost conversion rates, understanding and utilizing Google Analytics is essential for your success.
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBrad Spiegel Macon GA
Brad Spiegel Macon GA’s journey exemplifies the profound impact that one individual can have on their community. Through his unwavering dedication to digital inclusion, he’s not only bridging the gap in Macon but also setting an example for others to follow.
6. AWS - 3-Tier (Serverless) architecture
AWS
Lambda
Amazon
DynamoDB
Amazon API
Gateway
mobile client
Presentation
Logic (serverless) Data
Amazon
Cognito
Amazon
S3
Amazon
CloudFront
7. The Logic Tier - Amazon API
Gateway
Fully managed HTTPS service that makes it easy for developers
to create, publish, maintain, monitor, and secure APIs at any
scale.
• Low-Cost
• Performance
• API Monitoring
• API Lifecycle management
• Flexible Security Controls
• Cloudfront, ELB and Lambda Integration
8. The Logic Tier - AWS Lambda
Serverless compute service that runs your code in response to
events and automatically manages the underlying resources
• Completely Automated Administration
• Built-in Fault Tolerance
• Run Code at Edge Locations and Step Function (Re:Invent
2016)
• Pay-per-use
• Supports Java, Node.js, C#, and Python
• VPC Integration
10. Authentication - Amazon Cognito
Cognito is a fully managed service for sign-up/sign-in
functionality and can scale to hundreds of millions of
users
11. Amazon Cognito
Amazon Cognito lets you easily add user sign-up and sign-in to
your mobile and web apps.
• Simple, secure, and low-cost authentication options
• Authenticate users on Facebook, Twitter, or Amazon
• Cognito Authentication Flow
• Custom Authentication Flow (AWS Lambda triggers)
• Enhanced security features, such as email and phone number
verification, and multi-factor authentication
12. Amazon Cognito - Custom Authentication
Flow
http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html
is user approved ?
(PreSignUP Trigger)
14. Authorization
• AWS Identity and Access Management (IAM) is a web
service that helps you securely control access to AWS
resources
• Roles
• Policies
• AWS Security Token Services (STS) is a web service that
enables you to request temporary, limited-privilege credentials
for IAM
• Use action AssumeRoleWithWebIdentity for federation
15. Authorization - Web Identity Federation
http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc_cognito.html
AssumeRoleWithWebIdentity
16. Authorization - API Gateway Access
Control
API Gateway supports multiple mechanisms of access control,
including metering or tracking API uses by clients using API
keys.
• Control Access for Managing an API
• IAM Policy (“Action": “apigateway:*”)
• Control Access for Invoking an API
• IAM Policy (“Action”: “execute-api:Invoke”)
• Custom Authorizers (Lambda functions)
• Amazon Cognito User Pools
17. Security
• AWS IAM and Cognito
• Authentication and Authorization
• AWS Cloudtrail
• Monitor All APIs Management (Cognito, Lambda, API Gateway, etc)
• AWS Cloudwatch
• Monitor All APIs Execution and related resources (Dynamodb, ELB, etc)
• AWS WAF (Web Application Firewall) and AWS Shield
• Access Control and DDoS Mitigation
• AWS Lambda
• Automate your security!
20. Agility
• Serverless Application Model (SAM)
• Define the application and its resources
• AWS CodeCommit
• Your source repository
• AWS CodeBuild
• Package your source code and SAM templates
• AWS CloudFormation
• Deploy your Infrastructure as Code
• AWS CodePipeline
• Orchestrate your application deployment.
All
Serverless
21. Agility - Serverless Application Model (SAM)
AWS
Lambda
Amazon
DynamoDB
Amazon API
Gateway*
AWS
CloudFormation
https://github.com/awslabs/serverless-application-model
24. uid:password
token
token, reference, ID reference, ID
ID
value, reference
value, reference
score, reference
client OAuth2 API-gw Lambda DynamoDB
Trisp
Use Case - Flusso
lasso di tempo tra l’arrivo della richiesta dal client e l’invio della
risposta allo stesso
26. Use Case - Costo API-Gateway
Costo totale = Costo chiamate API + Costo trasferimento + Costo
cache
Costo Trasferimento
Tariffe per il trasferimento di dati in uscita
di Amazon API Gateway
• 0,09 USD/GB per i primi 10 TB
• 0,085 USD/GB per i successivi 40 TB
• 0,07 USD/GB per i successivi 100 TB
• 0,05 USD/GB per i successivi 350 TB
Costo chiamate API
3,50 USD per milione di chiamate API
ricevute
EU-West-1
Costo Cache
• 0,5 GB = 0,020 USD/Ora
• 1,6 GB = 0,038 USD
• 6,1 GB = 0,200 USD
…
27. Use Case - Costo API Gateway
Costo Chiamate API
• 48.618 * 31 = 1.507.158 * 3,75 USD -> 5,275 USD/Mese
Costo Cache (0,5 GB)
• 0,020 USD/ora * 24 ore * 31 giorni = 14,88 USD/Mese
Costo trasferimento
• 48.618 * 512 Byte * 31 giorni * 0.09 USD = 0,064 USD/Mese
Costo Totale = 20,219 USD/Mese
* = Non considerando il Free Tier
EU-West-1
28. Use Case - Costo Lambda
Costo totale = Costo elaborazione + Costo richieste
Richieste
Il costo viene calcolato in base al numero
totale di richieste per tutte le funzioni.
Lambda conteggia una richiesta ogni
volta che avvia un'elaborazione in
risposta alla notifica di un evento o a una
chiamata Invoke. Il costo è di 0,20 USD
ogni milione di richieste (0,0000002
USD a richiesta). Il primo milione di
richieste ogni mese è gratuito
Elaborazione
La durata viene calcolata a partire dal
momento in cui viene avviata
l'esecuzione del codice e fino al
momento in cui viene restituito o
comunque terminato il codice,
arrotondata al decimo di secondo più
vicino. Il prezzo dipende dalla quantità di
memoria allocata per la funzione. Il
costo è di 0,00001667 USD per ogni
GB/secondo impiegato.
EU-West-1
29. Use Case - Costo Lambda
Costo Elaborazione
• Free Tier: 400.000 GB/secondo al mese
• Il costo dell'elaborazione mensile è 0,00001667 USD per GB/s
• Elaborazione (sec) = (48.618 * 99.98%) * 0.876 sec = 42581 sec
• Elaborazione (GB/s) = 42581 secondi * (512 MB / 1024) = 21.290 GB/s
• Costi Elaborazione = 0,00001667 USD * 21.290 * 31 = 10,964 USD/Mese*
Costo Richieste
• Free Tier: 1.000.000 richieste/mese
• Dalla richiesta successiva, il costo è di 0,20 USD ogni milione di richieste
• Costi Richieste 48.618 * 0,0000002 USD = 0,30 USD/Mese*
Costo Totale = 11,264 USD/Mese
* = Non considerando il Free Tier
EU-West-1
30. Use Case - Costo DynamoDB
Costo totale = Costo storage + Costo capacità + Costo
Trasferimento
Capacità Read/Write
Consente di specificare il throughput per
le richieste in lettura e scrittura che deve
raggiungere la propria tabella:
• Throughput scrittura: $0,00735 all'ora
ogni 10 unità di capacità in scrittura
• Throughput lettura: $0,00735 all'ora
ogni 50 unità di capacità in lettura
Storage
First 25 GB stored per month is free
$0,283 per GB al mese
successivamente
EU-West-1
Trasferimento
Trasferimento IN = $0,000 per GB
Trasferimento OUT = $0,090 per
GB
31. Use Case - Costo DynamoDB
Costo Storage
• Storage = 2.5 GB -> Costo = 0 USD/Mese*
Costo Capacità
• Totale RU = 50 -> Costo = $0.00735 * 24 ore * 31 giorni = 5,47 USD/Mese
• Totale WU = 10 -> Costo = $0.00735 * 24 ore * 31 giorni = 5,47 USD/Mese
Costo Trasferimento OUT
• 48.618 * 512 Byte * 31 = 0.718 GB/Mese -> Costo = 0**
Costo Totale = 10,94 USD/Mese
* = First 25 GB stored per month is free
** = Primo GB/mese is free
EU-West-1
32. Use Case - Totale
Costo Totale API Gateway = 20,219 USD/Mese
Costo Totale Lambda = 11,264 USD/Mese
Costo Totale Dynamo = 10,94 USD/Mese
Costo Totale ElasticSearch = 15 USD/Mese
Costo Altri servizi = 10 USD/Mese
Costo Totale = 67,423 USD/Mese
A user pool is integrated with an API as a method authorizer. When calling the methods with such an authorizer enabled, an API client includes in the request headers the user's identity token provisioned from the user pool. API Gateway then validates the token to ensure it belongs to the configured user pool and authenticates the caller before passing the request to the back end.
This post shows you how to leverage AWS services to create a continuous deployment pipeline for your serverless applications. You use the Serverless Application Model (SAM) to define the application and its resources, CodeCommit as your source repository, CodeBuild to package your source code and SAM templates, AWS CloudFormation to deploy your application, and CodePipeline to bring it all together and orchestrate your application deployment.
publish-version: Publishes a version of your function from the current snapshot of $LATEST. That is, AWS Lambda takes a snapshot of the function code and configuration information from $LATEST and publishes a new version. The code and configuration cannot be modified after publication
invoke: --qualifier (string)
You can use this optional parameter to specify a Lambda function version or alias name. If you specify a function version, the API uses the qualified function ARN to invoke a specific Lambda function. If you specify an alias name, the API uses the alias ARN to invoke the Lambda function version to which the alias points.