Score:-2

about setting up your local AWS development environment

sg flag

new to AWS here.

Wanted to set up my new Project on the cloud and donate some money to Jeff.

How would you set up your local environment today when starting a cloud project? I have issues seeing the big picture here.

We have

  • AWS CDK ( seems like Terraform is not really needed? )
  • Private Github Repositories

I would like to utilize

  • a strapi instance
  • an SQL Database
  • Redis or some AWS caching solution?
  • some lambdas (just sprinkle it a little bit)
  • monitoring? maybe prometheus or some AWS solution
  • CI/CD, automate as much as possible
  • event driven patterns (kafka needed?)

How do you bring these things together in your local environment?

Do you guys start by launching instances in the AWS Commandline and connect to it? Do you run anything like dynamoDB locally?

How does docker fit into the picture?

I think AWS is a different ball game and I don't want to use any bad practices.

Score:1
sm flag

Probably my answer is generic, but I suggest you to start with some tutorials and reading AWS documentation.

How would you set up your local environment today when starting a cloud project? I have issues seeing the big picture here.

There is nothing running "locally" when we are dealing with AWS. Everything is running on their infrastructure.

How do you bring these things together in your local environment?

  • Strapi instance: probably hosted in a EC2 instance. Check it.
  • SQL Database: RDS.
  • Redis: ElastiCache
  • Monitoring: CloudWatch.
  • CI/CD: AWS CodePipeline or any CI/CD tool running on an EC2.
  • Event driven patterns: EventBridge, read it.

How do you bring these things together in your local environment?

There is no one answer for this, I suggest you to read some tutorials for each component. For example, to connect EC2 with RDS you'll need to set the right rules on the security groups (firewall). For monitoring, you'll need to set and attach specific policies to allow resources to send things to CloudWatch.

Do you guys start buy launching instances in the AWS Commandline and connect to it? Do you run anything like dynamoDB locally?

Not sure if I understood this question. Yes, there is some ways to launch instances using AWS CLI, check it. For DynamoDB check this one.

How does docker fit into the picture?

AFAIK it fits on EC2 and ECS. There is also EKS to run Kubernetes.

n79qk272x57w46w9 avatar
sg flag
this is very helpful. amazing answer. thanks heap!
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.