Skip to content

Running an executable program on AWS

0

Hi, I am relatively new to AWS services. Right now our group are trying to migrating all our programs from shared drive to AWS, we have several executable programs and we want them to run on AWS, extracting and saving input and output to S3. Because each program size is relatively large, I am wondering is there a way to do it? Thanks!

asked a year ago341 views
1 Answer
0

There are a lot of ways to do this but let's start with the basics:

Create an EC2 instance in a VPC; make sure that you can access it (RDP or SSH - Windows or Linux); upload your code to it; put a S3 Gateway Endpoint in the VPC (because it's a good idea - trust me); give the instance a role that allows it to access S3. You may find that Mountpoint for S3 is handy if you're running Linux.

And you're done. There's a lot of ground there but there are plenty of tutorials around the place to guide you through those steps.

Later, you might consider using a container (ECS, EKS, Fargate); or even use Lambda. These are generally going to be lower cost but may require to to customise the code somewhat and there may be limitations on code size (because "large" is not a number I can't provide any more specific advice than that).

AWS
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.