Sitemap

Local AWS Development

Dec 20, 2022

--

Having used Localstack in the past, it’s not something that is new to me. Trying to integrate this with Testcontainers, now that is something I need to try out.

import cloud.localstack.LocalstackTestRunner;
import cloud.localstack.ServiceName;
import cloud.localstack.TestUtils;
import cloud.localstack.docker.annotation.LocalstackDockerProperties;

@RunWith(LocalstackTestRunner.class)
@LocalstackDockerProperties(services = { ServiceName.S3, "sqs", "kinesis" })
public class SilverCloudAppTest {

PROS:

    Get Ashok Nanda’s stories in your inbox

    Join Medium for free to get updates from this writer.

  • Java integration is awesome , that’s the biggest seller for this.

Alternatives:

  • Moto : http://docs.getmoto.org/en/latest/
  • Is a Python based implementation, quite awesome actually
  • Lacks great Java SDk, except the ability to start server in Java,Docker
  • But it’s light works quite well

--

--