i want to deploy my repo code on aws cloud ?

,

Guys i want to deploy Bitbucket with all repository to AWS cloud , but i confuse between ec2 and ECS , guys I’m super beginner in the AWS cloud , if any expert here ? Which service can you recommend for me
tanks a lot sorry for my English IM not a native speaker


Related discussions:

Sorry, I am not sure how to do that but you can try asking in r/aws

I think you should do more reading. EC2 is compute and ECS is a service for containers. I think you want to deploy something and you can do that in both. Just ec2 is gonna be easy and straightforward just get an ec2 and clone your bitbucket in it (if you don’t have cicd to do that for you)

Check out
Aws Cicd suite (code commit, code deploy, code build, code pipeline) as a replacement for bitbucket

sir the code is already in bitbucket

First things first. I see that your post has been removed from a number of places. The problem is that you assume we know your code, what it does, and how it needs to be deployed. We know nothing about its deployment requirements, for instance, OS versions, other software dependencies, networking/connectivity, machine characteristics (CPU, disk, RAM etc), resiliency and anything else that might be needed. I would suggest that you understand, and explain what you need (or at least what you think you need) first before you think about what platform you deploy it on.

At the simplest level, AWS has EC2, an AWS version of virtual machines. Here you basically manage everything from the OS upwards, so you can deploy your code in any way you like that you would for any other machine.

If your code is already containerised, then you can use ECS in various forms. As this provides a basic level of containerisation on top of EC2 instances.

/r/devops can also help you understand what kind of pipelines you need. But you need to post specifics, not the minimal info you posted.