Running an EC2 instance locally using LocalStack

In this video, you'll learn how you can run an Elastic Compute Cloud (EC2) instance locally using LocalStack's core cloud emulator. Elastic Compute Cloud (EC2) is a core service within Amazon Web Services (AWS) that provides scalable and flexible virtual computing resources. EC2 enables users to launch and manage virtual servers, commonly referred to as instances. LocalStack is a core cloud emulator that allows you run EC2 instances using a Docker backend. Under the hood, LocalStack spins another Docker container that mimics an EC2 instance functionality, including other add-on features such as EBS, IMDS, and Load Balancers.For more information, check out our docs:- Install LocalStack: https://docs.localstack.cloud/getting-started/installation/- Configure an Auth Token: https://docs.localstack.cloud/getting-started/auth-token/ - Supported EC2 operations: https://docs.localstack.cloud/user-guide/aws/ec2/#operations - Supported Instances & AMIs: https://docs.localstack.cloud/user-guide/aws/ec2/#instances-and-amis Corrections:- LocalStack will no longer provide the Ubuntu 20.04 Docker AMI (used in this video) by default in the next major release. It can still be manually added.- On nine minutes & nine seconds mark, we meant 'localhost' instead of 'localstack'. To access the web server, you can hit the localhost:8000 endpoint as shown in the video.

Related Talks

Demo: Intro to Local AWS Development via LocalStack

How much faster could your cloud application release cycles move if your developers didn’t need to deploy code to the cloud?

Local cloud development eliminates the security implications, cost concerns, and access restrictions of traditional cloud development by replicating production-quality application environments on local infrastructure.

Join us on Tuesday, December 16, at 1pm eastern time for a live demo webinar to learn more about:

  • How LocalStack replicates production-quality AWS application environments on local infrastructure
  • The unique advantages that local cloud environments provide for software developers
  • Successful use cases where local cloud development unlocks velocity that developers can’t experience on the cloud

Even if you’re not available to join the livestream, sign-up here to receive the session recording in your inbox.

Learn More
Learn More
Autonomous Bug Fixing Through AI Agents That Detect, Reproduce, and Repair

What if your software could fix its own bugs—before anyone even notices them? In this session, LogicStar co-founder Boris Paskalev shares how self-healing applications are becoming a reality—fixing bugs automatically, before they reach production or immediately after an issue is detected/reported. LogicStar combines classical computer science, deep tech research from the pioneers of “AI for Code” and Agentic AI to detect, reproduce, and fix real production issues with validated, test-backed pull requests.This session is for engineering leaders, PMs, and AI builders ready to rethink the boundaries of autonomy in software delivery.

Learn More
Learn More
Creating self-healing software systems via effective usage of telemetry data and AI agents

Modern software systems operate in complex, dynamic environments where failures are inevitable. Traditional monitoring and manual incident response are no longer sufficient to ensure resilience or customer satisfaction. This talk explores how to design and implement self-healing software systems by combining telemetry data with an AI-driven agentic approach. We’ll start by examining how high-quality telemetry forms the foundation for detecting anomalies and predicting failures. Next, we’ll show how modern GenAI (LLMs) can transform this telemetry into actionable insights for AI agents that interpret data, pinpoint root causes, and apply automated fixes. Through a practical, real-world example, you’ll see how telemetry and AI work together to create adaptive feedback loops that continuously improve system reliability, while freeing engineers from repetitive operational tasks.

Learn More
Learn More

Launch yourself in the world of local cloud development

Try for free
Try for free
Talk to Sales
Talk to Sales