Onexlab

Sign in

This article will show you how you can use LocalStack+Docker-Compose+DynamoDb to test AWS resources on your local system.

Video

What is LocalStack?

LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications. This means you can test AWS cloud resources locally on your machine.

Note: LocalStack supporting only AWS cloud stack.

LocalStack spins up the following core Cloud APIs on your local machine.

  • ACM, API Gateway, CloudFormation, CloudWatch
  • CloudWatch Logs, DynamoDB, DynamoDB Streams
  • EC2, Elasticsearch Service, EventBridge (CloudWatch Events)
  • Firehose, IAM, Kinesis, KMS, Lambda, Redshift
  • Route53, S3, SecretsManager, SES, SNS
  • SQS, SSM, StepFunctions, STS

Benefits of Using LocalStack

  • Reduce Cost
  • Test AWS Cloud Resource Locally
  • Learn AWS…


This article will show you how you can use LocalStack+Docker+DynamoDb to test AWS resources on your local system.

Video

What is LocalStack?

LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications. This means you can test AWS cloud resources locally on your machine.

Note: LocalStack supporting only AWS cloud stack.

LocalStack spins up the following core Cloud APIs on your local machine.

  • ACM, API Gateway, CloudFormation, CloudWatch
  • CloudWatch Logs, DynamoDB, DynamoDB Streams
  • EC2, Elasticsearch Service, EventBridge (CloudWatch Events)
  • Firehose, IAM, Kinesis, KMS, Lambda, Redshift
  • Route53, S3, SecretsManager, SES, SNS
  • SQS, SSM, StepFunctions, STS

Benefits of Using LocalStack

  • Reduce Cost
  • Test AWS Cloud Resource Locally
  • Learn AWS…


This article will show you how you can use DynamoDb+LocalStack+NoSQLWorkBench to test the AWS environment on your local system.

DynamoDb+LocalStack

Video

What is LocalStack?

LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications. This means you can test AWS cloud resources locally on your machine.

Note: LocalStack supporting only AWS cloud stack.

LocalStack spins up the following core Cloud APIs on your local machine.

  • ACM, API Gateway, CloudFormation, CloudWatch
  • CloudWatch Logs, DynamoDB, DynamoDB Streams
  • EC2, Elasticsearch Service, EventBridge (CloudWatch Events)
  • Firehose, IAM, Kinesis, KMS, Lambda, Redshift
  • Route53, S3, SecretsManager, SES, SNS
  • SQS, SSM, StepFunctions, STS

Benefits of Using LocalStack

  • Reduce Cost
  • Test AWS Cloud Resource Locally
  • Learn…


Are you getting this error?

ERROR:localstack.services.kinesis.kinesis_starter: kinesis terminated with return code -11

We are getting this error when we are using the Localstack DynamoDB service.

We are using the following Docker Compose file to replicate this issue

Following docker-compose will throw the Error

If you look at the above file you can see we are using only one service DynamoDb. If you run the above file using the following command

docker-compose up

Then you will get this error see the screenshot below

ERROR:localstack.services.kinesis.kinesis_starter: kinesis terminated with return code -11


This article will show you how you can use LocalStack to test AWS DynamoDB on your local system.

Video

What is LocalStack?

LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications. This means you can test AWS cloud resources locally on your machine.

Note: LocalStack supporting only AWS cloud stack.

LocalStack spins up the following core Cloud APIs on your local machine.

  • ACM, API Gateway, CloudFormation, CloudWatch
  • CloudWatch Logs, DynamoDB, DynamoDB Streams
  • EC2, Elasticsearch Service, EventBridge (CloudWatch Events)
  • Firehose, IAM, Kinesis, KMS, Lambda, Redshift
  • Route53, S3, SecretsManager, SES, SNS
  • SQS, SSM, StepFunctions, STS

Benefits of Using LocalStack

  • Reduce Cost
  • Test AWS Cloud Resource Locally
  • Learn AWS…

In this article, We will show you how you can use LocalStack to create and test AWS S3 Bucket on your local system using Terraform

Video

What is LocalStack?

LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications. This means you can test AWS cloud resources locally on your machine.

Note: LocalStack supporting only AWS cloud stack.

For more details, you can read our previous article about LocalStack S3

Let’s Start

Project Structure

Project
├── docker-compose.yml
├── main.tf (File)
├── test.txt (File)

We hope you have installed Docker on your system else you can check the following article to install Docker.

Docker-Compose.YML

Note: Starting with version 0.11.0


This article will show you how you can set up a Google Cloud Bigtable emulator on your local machine for testing, debugging, or configuring CI/CD using Docker Compose.

Video

What is Bigtable?

Cloud Bigtable is a sparsely populated table that can scale to billions of rows and thousands of columns, enabling you to store terabytes or even petabytes of data. A single value in each row is indexed; this value is known as the row key. Bigtable is ideal for storing very large amounts of single-keyed data with very low latency. …


This article will show you how you can set up a Google Cloud Spanner emulator on your local machine for testing, debugging, or configuring CI/CD using Docker Compose.

Video

What Is Google Cloud Spanner?

Google Cloud Spanner is a fully managed relational database with unlimited scale, strong consistency, and up to 99.999% availability stores large amounts of mutable structured data. Spanner allows users to perform arbitrary queries using SQL with relational data while maintaining strong consistency and high availability for that data with synchronous replication.

Key features of Spanner:

  • Transactions can be applied across rows, columns, tables, and databases within a Spanner universe.
  • Clients can…


In this article, We will show you how to create AWS Cognito User Pool as well as AWS Cognito Federated Identities and How to use it with Node.JS

Onexlab Udemy Course For Cognito 64% Off

What is AWS Cognito

Amazon Cognito lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily. Amazon Cognito scales to millions of users and supports sign-in with social identity providers, such as Facebook, Google, and Amazon, and enterprise identity providers via SAML 2.0.

Let’s understand what is AWS Cognito User Pool and AWS Cognito Federal Identity

  1. AWS Cognito User Pool
  2. AWS Cognito Federated Identities

Video Tutorial

AWS Cognito Node.JS

AWS Cognito User Pool

A…

Onexlab

Teaching & Developing For Startups

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store