简体   繁体   中英

Deploying to specifc AWS ec2 instance from Visual Studio

In my visual studio project, I have downloaded the AWS extension and I am able to publish to AWS Elastic Beanstalk instance without any issue. This was good for testing.

What I am struggling to do is deploying to an existing instance (aka, one that wasn't created via elastic beanstalk tool in VS) in my AWS console.

Everywhere I look I only find ways to deploy to Elastic Beanstalk from the Visual Studio but I can't find an option to deploy to another instance.

Am I missing something really obvious here?

For automated deployments to instances AWS CodeDeploy is generally used. It could be setup with AWS CodePipeline as well.

The benefit of using both CD and CP is that CP can detect changes to your source code and trigger automated deployments using CD to a single instance or a fleet of instances.

I can't comment on the use in VS, but this is how it is normally done. Thus its possible that VS also supports architectures based on CD and CP. Even if not, you could setup automated trigger of CP based on the source code changes. This would work whether or not VS directly supports them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM