a war file will be uploaded to S3 bucket, Requirement is when a new war file is uploaded to s3 bucket it should be deployed automatically to an ec2 instance through AWS CodeDeploy.
war文件将上传到S3存储桶,要求是当新的war文件上传到s3存储桶时,它应该通过AWS CodeDeploy自动部署到ec2实例。
1 个解决方案
#1
0
You can create an AWS CodePipeline to trigger AWS CodeDeploy deployments based on updates to S3 resource. You can refer the sample pipeline creation described here https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-s3.html.
您可以创建AWS CodePipeline以根据S3资源的更新触发AWS CodeDeploy部署。您可以参考此处描述的示例管道创建https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-s3.html。
#1
0
You can create an AWS CodePipeline to trigger AWS CodeDeploy deployments based on updates to S3 resource. You can refer the sample pipeline creation described here https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-s3.html.
您可以创建AWS CodePipeline以根据S3资源的更新触发AWS CodeDeploy部署。您可以参考此处描述的示例管道创建https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-s3.html。