Movatterモバイル変換


[0]ホーム

URL:


Uploaded byCloudHesive
PPTX, PDF140 views

Serverless without Code (Lambda)

This document provides an overview of serverless computing without code (Lambda). It introduces CloudHesive as a professional services company and describes their services including assessment, strategy, migration, implementation, support, DevOps, security, and managed services. The agenda outlines topics on serverless, APIs, event buses, data stores, operational considerations, and adoption approaches. References are provided for the AWS Well Architected Framework and serverless application lens as well as examples for API Gateway, AppSync, Lambda, and Step Functions.

Embed presentation

Download to read offline
Serverless without Code (Lambda)SoFlo DevConApril 16th, 2022
Who am I?• Who am I?
Who is CloudHesive?• Professional Services• Assessment (Current environment,datacenter or cloud)• Strategy (Getting to the future state)• LandingZone (Pre-Migration)• Migration (Environment-to-cloud,Datacenter-to-cloud)• Implementation (Point solutions)• Support (Break/fix and ongoingenhancement)• DevOps Services• Assessment• Strategy• Implementation (Point solutions)• Management (Supporting infrastructure,solutions or ongoing enhancement)• Support (Break/fix and ongoingenhancement)• Managed Security Services (SecOps)• Encryption as a Service (EaaS) –encryption at rest/in flight• End Point Security as a Service• Threat Management• SOC IIType 2Validated• Next Generation Managed Services(MSP)• Leveraging our Professional, DevOpsand Managed Security Services• Single payer billing• Intelligent operations andautomation• AWS Audited• Cost Management
AWS User Groups of Florida• Almost 2Years ofVirtual Meetups/11 Meetups in the past 12 Months!• Doral: https://www.meetup.com/AWSUserGroupDoral• Miami: https://www.meetup.com/Miami-AWS-Users-Group• Miami Beach: https://www.meetup.com/aws-user-group-miami• Fort Lauderdale: https://www.meetup.com/South-Florida-Amazon-Web-Services-Meetup• Boca Raton: https://www.meetup.com/awsflorida• Orlando: https://www.meetup.com/Orlando-AWS-Users-Group• Tampa: https://www.meetup.com/Tampa-AWS-Users-Group• Jacksonville: https://www.meetup.com/AWS-User-Groups-of-Florida-Jacksonville
Agenda• Agenda/Introduction/Why?• Services Background• Serverless• APIs• Event Buses/Messaging/Queuing• Data Stores• Demo• Operational Considerations• General• API Gateway• Lambda• Other• Adoption Approach• Conclusion
Inspiration• “I'm wondering if there is a feature request to create something like a saved query in Athena thatcan be executed via a CloudWatch Event?”• The AWS Step Functions service integration with Amazon Athena enables you to use Step Functions tostart and stop query execution, and get query results• AWS User Groups of Florida MeetUp - AWS APIArchitectures - Scott Hendrickson, PartnerSolutionsArchitect, AWS• Data sources and resolvers are how AWS AppSync translates GraphQL requests and fetchesinformation from your AWS resources• AWSWell Architected Framework Serverless Application Lens• If your Lambda function is not performing custom logic while integrating with other AWS services,chances are that it may be unnecessary
Background
Compute’sTransition to Serverless• Compute - EC2 Bare Metal (Intel, AMD, Graviton, M1)• Compute - EC2Virtual > Bare Metal (Xen, KVM/Nitro)• Containers - Fargate > ContainderD (was DockerD) > EC2• Serverless - Lambda > Firecracker (MicroVM) > EC2
Serverless’ Flavors• High Level Abstractions• SaaS (Connect)• Hybrid Abstractions• PaaS (DynamoDB)• Low Level Abstractions• IaaS (Lambda)
CloudWorkload Lifecycle Management• Workload (What is it?)• Architecture (How does it run?)• Monitoring (How do I know something has gone wrong?)• Automation (If something goes wrong, do I need to fix it?)• Processes (How do I keep it alive)?
Workload + Architecture Drives Service Selection• Virtual Machines• AMI• Patching• Multi-threaded/Multi-task• Hours to Months• PerVM/Per Hour• Functions/Services• Code• Versioning• Single-threaded/Single-task• Microseconds to Seconds• Per Memory/Second/Per Request• Containers• Container File• Versioning• Multi-threaded/Single-task• Minutes to Days• PerVM/Per Hour
APITransition
Primary Services• APITier• API Gateway – API Management• AppSync – GraphQL API• Application (Execution)/CodeTier• Lambda – Serverless Compute• Data StoreTier• DynamoDB – Key/Value Data Base• ServiceTier• Event Bridge/Step Functions – Event Bus, Low Code/No Code Workflow• Athena – Interactive Query Service• S3 – Object Storage• Glue – Data Integration Service
Options for APIs• Client > API Gateway HTTP >Things• Client > API Gateway REST >Things• Client > AppSync GraphQL >Things• Client > Application Load Balancer > Lambda• Client > Lambda Function URLs• Client > CloudFront (Authorizer) > Lambda• Client > AWS IoT
Options to call AWS services w/o Lambda• APIs• API Gateway > AWS Services• AppSync > GraphQL > Resolvers > AWS Services• Event• Step Functions > AWS Services• EventBridge
API Gateway Integrations• AWS• Service• Lambda• AWS Proxy• Service• Lambda• HTTP• HTTP Proxy• Mock
AppSync Resolvers• DynamoDB• RDS• OpenSearch• Lambda• HTTP
Step Functions Optimized Integrations• Lambda• Batch• DynamoDB• ECS/Fargate• SNS• SQS• Glue, DataBrew• SageMaker• EMR• CodeBuild• Athena• EKS• API Gateway• EventBridge• Step Functions
Options for Event Buses/Messaging/Queuing• DynamoDB >Triggers• CloudWatch Logs > Metrics > Alarms / Lambda• CloudWatch Metrics > Destination• Kinesis > Lambda• Event Bridge (DLQ Support) > Lambda• SQS (DLQ Support) > Lambda• SNS (DLQ Support) > Lambda• (DLQ Support) Lambda
DecisionTreeTwitter @radzikowski_m
Serverless Data Stores -The Easy Button• S3 Query – Query objects in S3, through S3• Athena (and S3 and Glue) – Query objects in S3, Presto• AppFlow – Data Integration Platform• Profiles• Wisdom• Tasks• HoneyCode – No Code Platform
Serverless Data Stores• DynamoDB – Key/Value• Timescale –Time Series• Keyspaces – Cassandra• QLDB – Ledger• Aurora – Relational• Prometheus – Prometheus• Grafana – Grafana• MWAA – Airflow
Demo
API Example (API Gateway)AWS Well Architected Framework Serverless Application Lens
Event Example
Demo• Simple API• Proxy (SNS)• Simple Graph API• Resolver (DynamoDB)• Simple Event/Simple Step Function
Let’s not forget operational things…
General Considerations• Multi-Region? Single-Region?Which Region(s)?• Which Services?• What will they cost? How are they metered/billed?• How far do we need to scale?• What compliance requirements do we need to meet?• What tools do we have in our reach? (Frameworks, Patterns, etc.)
API Gateway• Development (Isolation, Stages, SAM)• Client Security (Certificates, API Keys, Authorizers)• Gateway Security (WAF,Throttling)• EndpointType (Edge optimized, Regional, Private, API Cache)• Integration (Methods, Proxy, ResponseCodes)• Operationalization (CloudWatch Logs,CloudWatch Metrics, Access Logging, X-Ray• Testing (Direct, PostMan)
Lambda• Runtime• Pre-Warming• Sizing/Timeouts• Development (Isolation,Versions, SAM, Cloud9, Parameterization)• Integration (Methods, ResponseCodes)• Security (KMS, Execution Role)• Operationalization (CloudWatch Logs, CloudWatch Metrics, X-Ray)• Testing (Direct)
“The Rest”• Development (Coding Best Practices, Runtime, RDBMS, DevOps)• Data Stores that are not Serverless (Sizing,CloudWatch, Logs, Events, Backup/Recovery, Multi-AZ, Database “Stuff”)• Trade-off• VPC (Public Subnets, Private Subnets, Security Groups)• Typical of Legacy Integrations, Non-Serverless Data Stores, etc.• General (What are all of the things we need to think about when we create a new AWS account?)• “Landing Zone”
Adoption Approach
Application• Customer operates their own Electronic Medical Record (EMR) platform, which was developedby a third party, and wanted to extend it’s capabilities to support a new line of business (durablemedical equipment).• This was a compelling event to change the way they introduce new capabilities in their EMR:Rather than continue to rely on a third party to extend it, why not grow their in-house talent andlessen the dependency on an outside organization, which would allow them to remain nimble asthe state of their business changes.• To get started, they nominated their business intelligence team, who had experience with thedata models that would be leveraged by the new line of business, to create an API to extend theEMR platform, allowing for business rule changes to be made at their pace.
Challenge• Limited Experience with Cloud, AWS, Security, Serverless, Application Development, etc.• ShortTimeline to deliver a functional solution (6Weeks).• Essentially looking for an insurance policy – to their credit they had already started going downthe serverless path, and many of the solutions they selected were ultimately implemented.• To that end, we proposed an initial workshop along with bi-weekly check-ins.
Approach -Workshop• Define• Review requirements• Review technologies selected• Review work completed so far• Setup access• Design• Recommendations and selection of appropriateAWS services• Weigh pros and cons of said services• Develop a basic framework for the application• Provide primer onAWS in the areas of most importance to delivery of the project
Approach –Week byWeek• Scheduled a series of standing check-ins.• Based on progress made throughout the week, these check-ins would either beused to talk through a blocking issue, review work completed, or if timepermitted, introduce new concepts.• These meetings also allowed us to keep up with material changes to the overallproject, which allowed us to provide long term guidance around the customer’soverarching cloud strategy.
Outcome• Through the workshops and check-ins the customer was able to:• Build APIs leveraging API Gateway and Lambda.• Do it in a way that ensured compliance with their organizational and industrial standards while also adhering tobest practices.• Successfully integrate with their EMR.• …and do this with an estimated AWS Spend of ~1,000.00 USD/Month• With 75% of costs driven by requests (that’s why we like serverless), meaning the majority of the costs will directlycorrelate to servicing a request and not idling.• We also learned some good lessons along the way, specifically around backlogmanagement/prioritization and specification changes.
What’s next?• Multiple Streams ofWork (Serverless, Analytics, Landing Zone)• While the initial set of APIs allowed the EMR to integrate with a system of record and business rules maintained by thecustomer, there was a desire to capture data entered into the EMR in a system maintained by the customer.• From a technology perspective, additional APIs would be exposed from the EMR and the EMR would populate a series ofDynamoDB tables. From a compliance perspective, this also introduces additional controls required around this data.• As such, DynamoDB and DynamoDB Streams has been introduced as system of record and to provide an audit trail ofthe data into a Database controlled by the customer.• These additional services will bring the AWS Spend up to ~3,000.00/Month
References
Well Architected Framework (WAF)• General• Event-Triggered• Workload-Focused• General Design Principals• Pillars• Design Principals• Best Practices• Lenses
WAF – Pillars• Operational Excellence• Security• Reliability• Performance Efficiency• Cost Optimization• Sustainability – New!
WAF – Lenses• High Performance Computing (HPC)• Serverless• Internet ofThings (IOT)• Financial Services Industry (FinServ)• FoundationalTechnical Review (FTR)• SaaS• Streaming Media• Machine Learning• SAP• DataAnalytics• Games Industry• Hybrid Networking• Management andGovernance
WAF – General Design Principals• Stop guessing your capacity needs• Test systems at production scale• Automate to make architectural experimentation easier• Allow for evolutionary architectures• Drive architectures using data• Improve through game days
WAF – Game Days• Prepare• Is the process/are the processes to be tested during the game day well defined? Is access in place? Hastraining been performed?• Define• Workload, Personnel, Scenario, Environment, Schedule• Execute• Start, Middle, End• Analyze• Debrief, Examine, Document, Root Cause Analysis (RCA), Correction of Error (CoE)
References• https://docs.aws.amazon.com/wellarchitected/latest/serverless-applications-lens/wellarchitected-serverless-applications-lens.pdf –Well Architected Serverless Application Lens• https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-aws-proxy.html – APIGateway Service Proxy Example• https://docs.aws.amazon.com/apigateway/latest/developerguide/websocket-api-chat-app.html – APIGateway Websocket Example• https://docs.aws.amazon.com/appsync/latest/devguide/tutorials.html – AppSyncTutorials• https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-dynamodb-resolvers.html – AppSyncTutorial DynamoDB Resolver• https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html – Lambda URLS• https://docs.aws.amazon.com/step-functions/latest/dg/connect-supported-services.html – Step FunctionsSupported Services• https://docs.aws.amazon.com/step-functions/latest/dg/sample-athena-query.html – Step Functions AthenaQuery
Conclusion• AWS continues to increase the breadth and depth of their serviceofferings• I wish it did that• I didn’t know I needed that• It’s easier to get started today than it was yesterday• Simplicity• Support• Cost
Thank you!
Contact Us• Partner Solutions Finder• https://aws.amazon.com/partners/find/partnerdetails/?n=CloudHesive&id=001E000000qK5f6IAC• E-Mail• sales@cloudhesive.com• URL• https://cloudhesive.com• Phone• United States: 800-860-2040 x1 (Fort Lauderdale, Florida, US & Norfolk,Virginia, US)• Argentina: +54 (11) 51737475 x1 (Buenos Aires,AR & Santiago,CL)• United Kingdom: +44 (20) 37955127 x1• Australia: +61 (2) 80742932 x1

Recommended

PPTX
Serverless Generative AI on AWS, AWS User Groups of Florida
PPTX
From Monolithic to Modern Apps: Best Practices
PDF
Wildrydes Serverless Workshop Tel Aviv
PDF
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
PPTX
Primeros pasos en desarrollo serverless
PPTX
Driving Business Agility with AWS Serverless -Atlanta
PDF
Modern Applications Development on AWS
PDF
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
PDF
Jumpstart your idea with AWS Serverless [Oct 2020]
PDF
Crio.do - Deployment on AWS Masterclass
PDF
Serverless on AWS: Architectural Patterns and Best Practices
PDF
Serverless use cases with AWS Lambda - More Serverless Event
PDF
AWS Application Service Workshop - Serverless Architecture
PPTX
Serverless architectures: APIs, Serverless Functions, Microservices - How to ...
PDF
Microservices and serverless for MegaStartups - DLD TLV 2017
PDF
Aws-What You Need to Know_Simon Elisha
PPTX
Serverlessusecase workshop feb3_v2
PDF
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
PDF
Operating Microservices at Hyperscale — Tech in Asia PDC 2019
PDF
Serverless Architectural Patterns 
and Best Practices - Madhu Shekar - AWS
PDF
Serverless use cases with AWS Lambda
PDF
Mainstream Serverless
PPTX
Leveraging serverless in fullstack development
PDF
Introduction to Serverless computing and AWS Lambda - Floor28
PDF
Introduction to Serverless
PPTX
5 incredible (and uncommon) serverless patterns
PDF
Serverless best practices plus design principles 20m version
PDF
AWS Summit Singapore 2019 | The Serverless Lifecycle: Development and Operati...
PPTX
Security on AWS
PPTX
CloudHesive x Datadog Multi Generational Observability

More Related Content

PPTX
Serverless Generative AI on AWS, AWS User Groups of Florida
PPTX
From Monolithic to Modern Apps: Best Practices
PDF
Wildrydes Serverless Workshop Tel Aviv
PDF
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
PPTX
Primeros pasos en desarrollo serverless
PPTX
Driving Business Agility with AWS Serverless -Atlanta
PDF
Modern Applications Development on AWS
PDF
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Serverless Generative AI on AWS, AWS User Groups of Florida
From Monolithic to Modern Apps: Best Practices
Wildrydes Serverless Workshop Tel Aviv
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
Primeros pasos en desarrollo serverless
Driving Business Agility with AWS Serverless -Atlanta
Modern Applications Development on AWS
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup

Similar to Serverless without Code (Lambda)

PDF
Jumpstart your idea with AWS Serverless [Oct 2020]
PDF
Crio.do - Deployment on AWS Masterclass
PDF
Serverless on AWS: Architectural Patterns and Best Practices
PDF
Serverless use cases with AWS Lambda - More Serverless Event
PDF
AWS Application Service Workshop - Serverless Architecture
PPTX
Serverless architectures: APIs, Serverless Functions, Microservices - How to ...
PDF
Microservices and serverless for MegaStartups - DLD TLV 2017
PDF
Aws-What You Need to Know_Simon Elisha
PPTX
Serverlessusecase workshop feb3_v2
PDF
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
PDF
Operating Microservices at Hyperscale — Tech in Asia PDC 2019
PDF
Serverless Architectural Patterns 
and Best Practices - Madhu Shekar - AWS
PDF
Serverless use cases with AWS Lambda
PDF
Mainstream Serverless
PPTX
Leveraging serverless in fullstack development
PDF
Introduction to Serverless computing and AWS Lambda - Floor28
PDF
Introduction to Serverless
PPTX
5 incredible (and uncommon) serverless patterns
PDF
Serverless best practices plus design principles 20m version
PDF
AWS Summit Singapore 2019 | The Serverless Lifecycle: Development and Operati...
Jumpstart your idea with AWS Serverless [Oct 2020]
Crio.do - Deployment on AWS Masterclass
Serverless on AWS: Architectural Patterns and Best Practices
Serverless use cases with AWS Lambda - More Serverless Event
AWS Application Service Workshop - Serverless Architecture
Serverless architectures: APIs, Serverless Functions, Microservices - How to ...
Microservices and serverless for MegaStartups - DLD TLV 2017
Aws-What You Need to Know_Simon Elisha
Serverlessusecase workshop feb3_v2
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Operating Microservices at Hyperscale — Tech in Asia PDC 2019
Serverless Architectural Patterns 
and Best Practices - Madhu Shekar - AWS
Serverless use cases with AWS Lambda
Mainstream Serverless
Leveraging serverless in fullstack development
Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless
5 incredible (and uncommon) serverless patterns
Serverless best practices plus design principles 20m version
AWS Summit Singapore 2019 | The Serverless Lifecycle: Development and Operati...

More from CloudHesive

PPTX
Security on AWS
PPTX
CloudHesive x Datadog Multi Generational Observability
PPTX
reInvent reCap 2022
PPTX
Modernization of your AWS based SaaS platform
PPTX
ConnectPath Introduction
PDF
AWS Control Tower
PPTX
Amazon Connect Rethink Your Contact Center with CloudHesive.pptx
PDF
Best Practices and Resources to Effectively Manage and Optimize Your AWS Costs
PPTX
Amazon Connect & AI - Shaping the Future of Customer Interactions - GenAI and...
PDF
AWS Advanced Analytics Automation Toolkit (AAA)
PPTX
Amazon Connect & AI - Shaping the Future of Customer Interactions - GenAI and...
PPTX
Security on AWS, 2021 Edition Meetup
PPTX
Serverless data and analytics on AWS for operations
PPTX
Analytics at CloudHesive
PPTX
End User Computing at CloudHesive.pptx
PPTX
Modernization of your AWS based SaaS platform - Short
PPTX
Supporting your CMMC initiatives with Sumo Logic
PPTX
Accelerating Business and Research Through Automation and Artificial Intellig...
PDF
Modernize your contact center with ConnectPath CX v2.pdf
PDF
Modernize your contact center with ConnectPath CX — Chart.pdf
Security on AWS
CloudHesive x Datadog Multi Generational Observability
reInvent reCap 2022
Modernization of your AWS based SaaS platform
ConnectPath Introduction
AWS Control Tower
Amazon Connect Rethink Your Contact Center with CloudHesive.pptx
Best Practices and Resources to Effectively Manage and Optimize Your AWS Costs
Amazon Connect & AI - Shaping the Future of Customer Interactions - GenAI and...
AWS Advanced Analytics Automation Toolkit (AAA)
Amazon Connect & AI - Shaping the Future of Customer Interactions - GenAI and...
Security on AWS, 2021 Edition Meetup
Serverless data and analytics on AWS for operations
Analytics at CloudHesive
End User Computing at CloudHesive.pptx
Modernization of your AWS based SaaS platform - Short
Supporting your CMMC initiatives with Sumo Logic
Accelerating Business and Research Through Automation and Artificial Intellig...
Modernize your contact center with ConnectPath CX v2.pdf
Modernize your contact center with ConnectPath CX — Chart.pdf

Recently uploaded

PDF
Mulesoft Meetup Online Portuguese: MCP e IA
PDF
Running Non-Cloud-Native Databases in Cloud-Native Environments_ Challenges a...
PDF
DUBAI IT MODERNIZATION WITH AZURE MANAGED SERVICES.pdf
PDF
Oracle MySQL HeatWave - One Page - Version 3
PDF
[BDD 2025 - Artificial Intelligence] Building AI Systems That Users (and Comp...
PPTX
"Feelings versus facts: why metrics are more important than intuition", Igor ...
 
PDF
Mastering UiPath Maestro – Session 2 – Building a Live Use Case - Session 2
PPTX
Support, Monitoring, Continuous Improvement & Scaling Agentic Automation [3/3]
PDF
Supervised Machine Learning Approaches for Log-Based Anomaly Detection: A Cas...
PDF
[BDD 2025 - Mobile Development] Exploring Apple’s On-Device FoundationModels
PDF
Lets Build a Serverless Function with Kiro
PDF
MuleSoft Meetup: Dreamforce'25 Tour- Vibing With AI & Agents.pdf
PDF
Top 10 AI Development Companies in UK 2025
PPTX
Guardrails in Action - Ensuring Safe AI with Azure AI Content Safety.pptx
PPTX
Connecting the unconnectable: Exploring LoRaWAN for IoT
PDF
So You Want to Work at Google | DevFest Seattle 2025
PDF
The partnership effect: Libraries and publishers on collaborating and thrivin...
PDF
Cybersecurity Prevention and Detection: Unit 2
PDF
"DISC as GPS for team leaders: how to lead a team from storming to performing...
 
PDF
The Evolving Role of the CEO in the Age of AI
Mulesoft Meetup Online Portuguese: MCP e IA
Running Non-Cloud-Native Databases in Cloud-Native Environments_ Challenges a...
DUBAI IT MODERNIZATION WITH AZURE MANAGED SERVICES.pdf
Oracle MySQL HeatWave - One Page - Version 3
[BDD 2025 - Artificial Intelligence] Building AI Systems That Users (and Comp...
"Feelings versus facts: why metrics are more important than intuition", Igor ...
 
Mastering UiPath Maestro – Session 2 – Building a Live Use Case - Session 2
Support, Monitoring, Continuous Improvement & Scaling Agentic Automation [3/3]
Supervised Machine Learning Approaches for Log-Based Anomaly Detection: A Cas...
[BDD 2025 - Mobile Development] Exploring Apple’s On-Device FoundationModels
Lets Build a Serverless Function with Kiro
MuleSoft Meetup: Dreamforce'25 Tour- Vibing With AI & Agents.pdf
Top 10 AI Development Companies in UK 2025
Guardrails in Action - Ensuring Safe AI with Azure AI Content Safety.pptx
Connecting the unconnectable: Exploring LoRaWAN for IoT
So You Want to Work at Google | DevFest Seattle 2025
The partnership effect: Libraries and publishers on collaborating and thrivin...
Cybersecurity Prevention and Detection: Unit 2
"DISC as GPS for team leaders: how to lead a team from storming to performing...
 
The Evolving Role of the CEO in the Age of AI

Serverless without Code (Lambda)

  • 1.
    Serverless without Code(Lambda)SoFlo DevConApril 16th, 2022
  • 2.
    Who am I?•Who am I?
  • 3.
    Who is CloudHesive?•Professional Services• Assessment (Current environment,datacenter or cloud)• Strategy (Getting to the future state)• LandingZone (Pre-Migration)• Migration (Environment-to-cloud,Datacenter-to-cloud)• Implementation (Point solutions)• Support (Break/fix and ongoingenhancement)• DevOps Services• Assessment• Strategy• Implementation (Point solutions)• Management (Supporting infrastructure,solutions or ongoing enhancement)• Support (Break/fix and ongoingenhancement)• Managed Security Services (SecOps)• Encryption as a Service (EaaS) –encryption at rest/in flight• End Point Security as a Service• Threat Management• SOC IIType 2Validated• Next Generation Managed Services(MSP)• Leveraging our Professional, DevOpsand Managed Security Services• Single payer billing• Intelligent operations andautomation• AWS Audited• Cost Management
  • 4.
    AWS User Groupsof Florida• Almost 2Years ofVirtual Meetups/11 Meetups in the past 12 Months!• Doral: https://www.meetup.com/AWSUserGroupDoral• Miami: https://www.meetup.com/Miami-AWS-Users-Group• Miami Beach: https://www.meetup.com/aws-user-group-miami• Fort Lauderdale: https://www.meetup.com/South-Florida-Amazon-Web-Services-Meetup• Boca Raton: https://www.meetup.com/awsflorida• Orlando: https://www.meetup.com/Orlando-AWS-Users-Group• Tampa: https://www.meetup.com/Tampa-AWS-Users-Group• Jacksonville: https://www.meetup.com/AWS-User-Groups-of-Florida-Jacksonville
  • 5.
    Agenda• Agenda/Introduction/Why?• ServicesBackground• Serverless• APIs• Event Buses/Messaging/Queuing• Data Stores• Demo• Operational Considerations• General• API Gateway• Lambda• Other• Adoption Approach• Conclusion
  • 6.
    Inspiration• “I'm wonderingif there is a feature request to create something like a saved query in Athena thatcan be executed via a CloudWatch Event?”• The AWS Step Functions service integration with Amazon Athena enables you to use Step Functions tostart and stop query execution, and get query results• AWS User Groups of Florida MeetUp - AWS APIArchitectures - Scott Hendrickson, PartnerSolutionsArchitect, AWS• Data sources and resolvers are how AWS AppSync translates GraphQL requests and fetchesinformation from your AWS resources• AWSWell Architected Framework Serverless Application Lens• If your Lambda function is not performing custom logic while integrating with other AWS services,chances are that it may be unnecessary
  • 7.
  • 8.
    Compute’sTransition to Serverless•Compute - EC2 Bare Metal (Intel, AMD, Graviton, M1)• Compute - EC2Virtual > Bare Metal (Xen, KVM/Nitro)• Containers - Fargate > ContainderD (was DockerD) > EC2• Serverless - Lambda > Firecracker (MicroVM) > EC2
  • 9.
    Serverless’ Flavors• HighLevel Abstractions• SaaS (Connect)• Hybrid Abstractions• PaaS (DynamoDB)• Low Level Abstractions• IaaS (Lambda)
  • 10.
    CloudWorkload Lifecycle Management•Workload (What is it?)• Architecture (How does it run?)• Monitoring (How do I know something has gone wrong?)• Automation (If something goes wrong, do I need to fix it?)• Processes (How do I keep it alive)?
  • 11.
    Workload + ArchitectureDrives Service Selection• Virtual Machines• AMI• Patching• Multi-threaded/Multi-task• Hours to Months• PerVM/Per Hour• Functions/Services• Code• Versioning• Single-threaded/Single-task• Microseconds to Seconds• Per Memory/Second/Per Request• Containers• Container File• Versioning• Multi-threaded/Single-task• Minutes to Days• PerVM/Per Hour
  • 12.
  • 13.
    Primary Services• APITier•API Gateway – API Management• AppSync – GraphQL API• Application (Execution)/CodeTier• Lambda – Serverless Compute• Data StoreTier• DynamoDB – Key/Value Data Base• ServiceTier• Event Bridge/Step Functions – Event Bus, Low Code/No Code Workflow• Athena – Interactive Query Service• S3 – Object Storage• Glue – Data Integration Service
  • 14.
    Options for APIs•Client > API Gateway HTTP >Things• Client > API Gateway REST >Things• Client > AppSync GraphQL >Things• Client > Application Load Balancer > Lambda• Client > Lambda Function URLs• Client > CloudFront (Authorizer) > Lambda• Client > AWS IoT
  • 15.
    Options to callAWS services w/o Lambda• APIs• API Gateway > AWS Services• AppSync > GraphQL > Resolvers > AWS Services• Event• Step Functions > AWS Services• EventBridge
  • 16.
    API Gateway Integrations•AWS• Service• Lambda• AWS Proxy• Service• Lambda• HTTP• HTTP Proxy• Mock
  • 17.
    AppSync Resolvers• DynamoDB•RDS• OpenSearch• Lambda• HTTP
  • 18.
    Step Functions OptimizedIntegrations• Lambda• Batch• DynamoDB• ECS/Fargate• SNS• SQS• Glue, DataBrew• SageMaker• EMR• CodeBuild• Athena• EKS• API Gateway• EventBridge• Step Functions
  • 19.
    Options for EventBuses/Messaging/Queuing• DynamoDB >Triggers• CloudWatch Logs > Metrics > Alarms / Lambda• CloudWatch Metrics > Destination• Kinesis > Lambda• Event Bridge (DLQ Support) > Lambda• SQS (DLQ Support) > Lambda• SNS (DLQ Support) > Lambda• (DLQ Support) Lambda
  • 20.
  • 21.
    Serverless Data Stores-The Easy Button• S3 Query – Query objects in S3, through S3• Athena (and S3 and Glue) – Query objects in S3, Presto• AppFlow – Data Integration Platform• Profiles• Wisdom• Tasks• HoneyCode – No Code Platform
  • 22.
    Serverless Data Stores•DynamoDB – Key/Value• Timescale –Time Series• Keyspaces – Cassandra• QLDB – Ledger• Aurora – Relational• Prometheus – Prometheus• Grafana – Grafana• MWAA – Airflow
  • 23.
  • 24.
    API Example (APIGateway)AWS Well Architected Framework Serverless Application Lens
  • 25.
  • 26.
    Demo• Simple API•Proxy (SNS)• Simple Graph API• Resolver (DynamoDB)• Simple Event/Simple Step Function
  • 27.
    Let’s not forgetoperational things…
  • 28.
    General Considerations• Multi-Region?Single-Region?Which Region(s)?• Which Services?• What will they cost? How are they metered/billed?• How far do we need to scale?• What compliance requirements do we need to meet?• What tools do we have in our reach? (Frameworks, Patterns, etc.)
  • 29.
    API Gateway• Development(Isolation, Stages, SAM)• Client Security (Certificates, API Keys, Authorizers)• Gateway Security (WAF,Throttling)• EndpointType (Edge optimized, Regional, Private, API Cache)• Integration (Methods, Proxy, ResponseCodes)• Operationalization (CloudWatch Logs,CloudWatch Metrics, Access Logging, X-Ray• Testing (Direct, PostMan)
  • 30.
    Lambda• Runtime• Pre-Warming•Sizing/Timeouts• Development (Isolation,Versions, SAM, Cloud9, Parameterization)• Integration (Methods, ResponseCodes)• Security (KMS, Execution Role)• Operationalization (CloudWatch Logs, CloudWatch Metrics, X-Ray)• Testing (Direct)
  • 31.
    “The Rest”• Development(Coding Best Practices, Runtime, RDBMS, DevOps)• Data Stores that are not Serverless (Sizing,CloudWatch, Logs, Events, Backup/Recovery, Multi-AZ, Database “Stuff”)• Trade-off• VPC (Public Subnets, Private Subnets, Security Groups)• Typical of Legacy Integrations, Non-Serverless Data Stores, etc.• General (What are all of the things we need to think about when we create a new AWS account?)• “Landing Zone”
  • 32.
  • 33.
    Application• Customer operatestheir own Electronic Medical Record (EMR) platform, which was developedby a third party, and wanted to extend it’s capabilities to support a new line of business (durablemedical equipment).• This was a compelling event to change the way they introduce new capabilities in their EMR:Rather than continue to rely on a third party to extend it, why not grow their in-house talent andlessen the dependency on an outside organization, which would allow them to remain nimble asthe state of their business changes.• To get started, they nominated their business intelligence team, who had experience with thedata models that would be leveraged by the new line of business, to create an API to extend theEMR platform, allowing for business rule changes to be made at their pace.
  • 34.
    Challenge• Limited Experiencewith Cloud, AWS, Security, Serverless, Application Development, etc.• ShortTimeline to deliver a functional solution (6Weeks).• Essentially looking for an insurance policy – to their credit they had already started going downthe serverless path, and many of the solutions they selected were ultimately implemented.• To that end, we proposed an initial workshop along with bi-weekly check-ins.
  • 35.
    Approach -Workshop• Define•Review requirements• Review technologies selected• Review work completed so far• Setup access• Design• Recommendations and selection of appropriateAWS services• Weigh pros and cons of said services• Develop a basic framework for the application• Provide primer onAWS in the areas of most importance to delivery of the project
  • 36.
    Approach –Week byWeek•Scheduled a series of standing check-ins.• Based on progress made throughout the week, these check-ins would either beused to talk through a blocking issue, review work completed, or if timepermitted, introduce new concepts.• These meetings also allowed us to keep up with material changes to the overallproject, which allowed us to provide long term guidance around the customer’soverarching cloud strategy.
  • 37.
    Outcome• Through theworkshops and check-ins the customer was able to:• Build APIs leveraging API Gateway and Lambda.• Do it in a way that ensured compliance with their organizational and industrial standards while also adhering tobest practices.• Successfully integrate with their EMR.• …and do this with an estimated AWS Spend of ~1,000.00 USD/Month• With 75% of costs driven by requests (that’s why we like serverless), meaning the majority of the costs will directlycorrelate to servicing a request and not idling.• We also learned some good lessons along the way, specifically around backlogmanagement/prioritization and specification changes.
  • 38.
    What’s next?• MultipleStreams ofWork (Serverless, Analytics, Landing Zone)• While the initial set of APIs allowed the EMR to integrate with a system of record and business rules maintained by thecustomer, there was a desire to capture data entered into the EMR in a system maintained by the customer.• From a technology perspective, additional APIs would be exposed from the EMR and the EMR would populate a series ofDynamoDB tables. From a compliance perspective, this also introduces additional controls required around this data.• As such, DynamoDB and DynamoDB Streams has been introduced as system of record and to provide an audit trail ofthe data into a Database controlled by the customer.• These additional services will bring the AWS Spend up to ~3,000.00/Month
  • 39.
  • 40.
    Well Architected Framework(WAF)• General• Event-Triggered• Workload-Focused• General Design Principals• Pillars• Design Principals• Best Practices• Lenses
  • 41.
    WAF – Pillars•Operational Excellence• Security• Reliability• Performance Efficiency• Cost Optimization• Sustainability – New!
  • 42.
    WAF – Lenses•High Performance Computing (HPC)• Serverless• Internet ofThings (IOT)• Financial Services Industry (FinServ)• FoundationalTechnical Review (FTR)• SaaS• Streaming Media• Machine Learning• SAP• DataAnalytics• Games Industry• Hybrid Networking• Management andGovernance
  • 43.
    WAF – GeneralDesign Principals• Stop guessing your capacity needs• Test systems at production scale• Automate to make architectural experimentation easier• Allow for evolutionary architectures• Drive architectures using data• Improve through game days
  • 44.
    WAF – GameDays• Prepare• Is the process/are the processes to be tested during the game day well defined? Is access in place? Hastraining been performed?• Define• Workload, Personnel, Scenario, Environment, Schedule• Execute• Start, Middle, End• Analyze• Debrief, Examine, Document, Root Cause Analysis (RCA), Correction of Error (CoE)
  • 45.
    References• https://docs.aws.amazon.com/wellarchitected/latest/serverless-applications-lens/wellarchitected-serverless-applications-lens.pdf –WellArchitected Serverless Application Lens• https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-aws-proxy.html – APIGateway Service Proxy Example• https://docs.aws.amazon.com/apigateway/latest/developerguide/websocket-api-chat-app.html – APIGateway Websocket Example• https://docs.aws.amazon.com/appsync/latest/devguide/tutorials.html – AppSyncTutorials• https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-dynamodb-resolvers.html – AppSyncTutorial DynamoDB Resolver• https://docs.aws.amazon.com/lambda/latest/dg/lambda-urls.html – Lambda URLS• https://docs.aws.amazon.com/step-functions/latest/dg/connect-supported-services.html – Step FunctionsSupported Services• https://docs.aws.amazon.com/step-functions/latest/dg/sample-athena-query.html – Step Functions AthenaQuery
  • 46.
    Conclusion• AWS continuesto increase the breadth and depth of their serviceofferings• I wish it did that• I didn’t know I needed that• It’s easier to get started today than it was yesterday• Simplicity• Support• Cost
  • 47.
  • 48.
    Contact Us• PartnerSolutions Finder• https://aws.amazon.com/partners/find/partnerdetails/?n=CloudHesive&id=001E000000qK5f6IAC• E-Mail• sales@cloudhesive.com• URL• https://cloudhesive.com• Phone• United States: 800-860-2040 x1 (Fort Lauderdale, Florida, US & Norfolk,Virginia, US)• Argentina: +54 (11) 51737475 x1 (Buenos Aires,AR & Santiago,CL)• United Kingdom: +44 (20) 37955127 x1• Australia: +61 (2) 80742932 x1

Editor's Notes


[8]ページ先頭

©2009-2025 Movatter.jp