SlideShare a Scribd company logo
Running AWS Locally
Chris Gillespie
●
Established 6 years ago.
●
~2 years into our AWS journey.
●
~30 headcount.
●
Primarily back-end.
●
PHP / Java.
●
Based in Huddersfield.
●
Software Engineer / Solution Architect.
●
Co-founder of Elder Studios and some other startups.
●
Occasionally lecture at University of Huddersfield.
●
~2 years into my AWS journey.
●
Java, Java, Java.... tempted by Golang.
●
@NorthernChrisG
AGENDA
●
Boot up and “run AWS locally”.
●
Identify the services we can run locally.
●
Interact.
●
Technique for swapping local / remote in our code.
●
Further uses.
AGENDA
●
Boot up and “run AWS locally”.
●
Identify the services we can run locally.
●
Interact.
●
Technique for swapping local / remote in our code.
●
Further uses.
RUN AWS LOCALLY
Multiple single service options available:
●
Downloadable Dynamodb from AWS
●
SAM Local from AWS for Lambda / API Gateway
●
Elasticsearch is.... elasticsearch!
●
Minio for S3
But we will focus on...
LOCALSTACK https://localstack.cloud/
BOOT UP
docker run -p 4567-4580:4567-4580 localstack/localstack
INTERACT
THEORY... The AWS CLI uses the SDK. If the AWS CLI works
with localstack, the SDK works. Let's give it a go....
●
It's all about the endpoint setting.
●
Credentials are required, but not validated.
SWAPPING LOCAL / REMOTE
I want to point my application at local AWS.
The SDK contains all the necessary methods to explicitly set
the endpoint, region and credentials.
Running AWS Locally
MANAGING IT
Spring Framework enabled us to easily manage the selection
between the two at runtime for testing / production without
hacking at the code.
Dependency Injection for the win!
Running AWS Locally
FURTHER USES
As part of automated testing. Enable end-to-end tests.
https://localstack.cloud/images/diagram.png
Lightweight / Temporary Environments.
Testing, sales demo sites, sprint demo etc
FURTHER USES
+
docker-compose up
QUESTIONS?

More Related Content

PPTX
Local Stack - A fully functional AWS cloud on your desktop
PPTX
Getting started with Jenkins
PPTX
Github
PPTX
Jenkins - From Continuous Integration to Continuous Delivery
PPTX
Qlik Cloudデータ統合:Data Gateway - Data Movementのセットアップ
ODP
Source Code Management systems
PDF
Introduction to docker
PPTX
Salesforce: CI,CD & CT
Local Stack - A fully functional AWS cloud on your desktop
Getting started with Jenkins
Github
Jenkins - From Continuous Integration to Continuous Delivery
Qlik Cloudデータ統合:Data Gateway - Data Movementのセットアップ
Source Code Management systems
Introduction to docker
Salesforce: CI,CD & CT

What's hot (20)

PDF
Ansible Automation to Rule Them All
PDF
Introduction to GitHub Actions
PDF
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
PDF
Custom policies in mule 4 and a circuit breaker example
PDF
Microservices & API Gateways
PPTX
NGINX, Istio, and the Move to Microservices and Service Mesh
PDF
Red hat ansible automation technical deck
PDF
¿Qué es DevOps y por qué es importante en el Ciclo de Software? por michelada.io
PPT
Ansible presentation
PDF
Microservices
PDF
MuleSoft Surat Meetup#44 - Anypoint Flex Gateway Custom Policies With Rust
PDF
Ansible
PDF
Service Mesh on Kubernetes with Istio
PDF
Jenkins - perdre du temps pour en gagner
PPTX
Maven Nexus
PDF
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
PDF
DevOps with GitHub Actions
PPTX
Asp.net mvc 基礎
PPTX
Best practices for implementing CI/CD on Salesforce
PDF
Salesforce CI/CD - A strategy for success
Ansible Automation to Rule Them All
Introduction to GitHub Actions
VPCs, Metrics Framework, Back pressure : MuleSoft Virtual Muleys Meetups
Custom policies in mule 4 and a circuit breaker example
Microservices & API Gateways
NGINX, Istio, and the Move to Microservices and Service Mesh
Red hat ansible automation technical deck
¿Qué es DevOps y por qué es importante en el Ciclo de Software? por michelada.io
Ansible presentation
Microservices
MuleSoft Surat Meetup#44 - Anypoint Flex Gateway Custom Policies With Rust
Ansible
Service Mesh on Kubernetes with Istio
Jenkins - perdre du temps pour en gagner
Maven Nexus
MuleSoft Surat Meetup#41 - Universal API Management, Anypoint Flex Gateway an...
DevOps with GitHub Actions
Asp.net mvc 基礎
Best practices for implementing CI/CD on Salesforce
Salesforce CI/CD - A strategy for success
Ad

Similar to Running AWS Locally (20)

PDF
RUNNING AWS LOCALLY
PDF
MJ Berends talk - Women & Non-Binary Focused Intro to AWS
PPTX
MJ Berends talk from AWS Chicago Summit
PDF
Test cloud application deployments locally and in CI without staging environm...
PDF
Handling scale on AWS
PDF
Laptop Devops: Putting Modern Infrastructure Automation to Work For Local Dev...
KEY
Using Amazon EC2 to Scale Your Web Application
PDF
AWS CZSK Webinář 2020.03: AWS Outposts
PDF
Auto scaling with Ruby, AWS, Jenkins and Redis
PDF
Cloud Workshop - Presentation
PDF
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
PPTX
Effective terraform
PPTX
AWS 101 - An Introduction to the Amazon Cloud
PPTX
Scaling horizontally on AWS
PPTX
How to Develop and Deploy Web-Scale Applications on AWS
PDF
AMAZON CLOUD Course Content
PDF
AWS for Java Developers workshop
PDF
20170831 - Greg Palmier: Terraform & AWS at Tempus
PDF
NLUUG print conference May 26 2016
PDF
Individual Serverless Development Environments for AWS
RUNNING AWS LOCALLY
MJ Berends talk - Women & Non-Binary Focused Intro to AWS
MJ Berends talk from AWS Chicago Summit
Test cloud application deployments locally and in CI without staging environm...
Handling scale on AWS
Laptop Devops: Putting Modern Infrastructure Automation to Work For Local Dev...
Using Amazon EC2 to Scale Your Web Application
AWS CZSK Webinář 2020.03: AWS Outposts
Auto scaling with Ruby, AWS, Jenkins and Redis
Cloud Workshop - Presentation
20141021 AWS Cloud Taekwon - Startup Best Practices on AWS
Effective terraform
AWS 101 - An Introduction to the Amazon Cloud
Scaling horizontally on AWS
How to Develop and Deploy Web-Scale Applications on AWS
AMAZON CLOUD Course Content
AWS for Java Developers workshop
20170831 - Greg Palmier: Terraform & AWS at Tempus
NLUUG print conference May 26 2016
Individual Serverless Development Environments for AWS
Ad

Recently uploaded (20)

PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
medical staffing services at VALiNTRY
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
System and Network Administraation Chapter 3
PDF
top salesforce developer skills in 2025.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Introduction to Artificial Intelligence
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
history of c programming in notes for students .pptx
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
ISO 45001 Occupational Health and Safety Management System
Softaken Excel to vCard Converter Software.pdf
Design an Analysis of Algorithms I-SECS-1021-03
How to Choose the Right IT Partner for Your Business in Malaysia
medical staffing services at VALiNTRY
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
System and Network Administraation Chapter 3
top salesforce developer skills in 2025.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
Odoo POS Development Services by CandidRoot Solutions
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Introduction to Artificial Intelligence
PTS Company Brochure 2025 (1).pdf.......
Understanding Forklifts - TECH EHS Solution
Adobe Illustrator 28.6 Crack My Vision of Vector Design
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
history of c programming in notes for students .pptx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
ISO 45001 Occupational Health and Safety Management System

Running AWS Locally

  • 2. ● Established 6 years ago. ● ~2 years into our AWS journey. ● ~30 headcount. ● Primarily back-end. ● PHP / Java. ● Based in Huddersfield.
  • 3. ● Software Engineer / Solution Architect. ● Co-founder of Elder Studios and some other startups. ● Occasionally lecture at University of Huddersfield. ● ~2 years into my AWS journey. ● Java, Java, Java.... tempted by Golang. ● @NorthernChrisG
  • 4. AGENDA ● Boot up and “run AWS locally”. ● Identify the services we can run locally. ● Interact. ● Technique for swapping local / remote in our code. ● Further uses.
  • 5. AGENDA ● Boot up and “run AWS locally”. ● Identify the services we can run locally. ● Interact. ● Technique for swapping local / remote in our code. ● Further uses.
  • 6. RUN AWS LOCALLY Multiple single service options available: ● Downloadable Dynamodb from AWS ● SAM Local from AWS for Lambda / API Gateway ● Elasticsearch is.... elasticsearch! ● Minio for S3 But we will focus on...
  • 8. BOOT UP docker run -p 4567-4580:4567-4580 localstack/localstack
  • 9. INTERACT THEORY... The AWS CLI uses the SDK. If the AWS CLI works with localstack, the SDK works. Let's give it a go.... ● It's all about the endpoint setting. ● Credentials are required, but not validated.
  • 10. SWAPPING LOCAL / REMOTE I want to point my application at local AWS. The SDK contains all the necessary methods to explicitly set the endpoint, region and credentials.
  • 12. MANAGING IT Spring Framework enabled us to easily manage the selection between the two at runtime for testing / production without hacking at the code. Dependency Injection for the win!
  • 14. FURTHER USES As part of automated testing. Enable end-to-end tests. https://localstack.cloud/images/diagram.png
  • 15. Lightweight / Temporary Environments. Testing, sales demo sites, sprint demo etc FURTHER USES +