In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you what are the AWS automatic deployment codeploy application specification files, I hope you will gain something after reading this article, let's discuss it together!
Specification files for codedeploy applications Application specification files on the ECS platform:
The AppSpec file can also be in YAML or JSON format and can be written directly to the editor in the console.
AppSpec file is used to specify:
The Amazon ECS service name and container name and port used to direct traffic to the new task set.
The function to be used as a validation test.
You can validate the Lambda function after deploying a lifecycle event.
Application specification file on EC2 or local computing platform:
APPspec file is always in yarml format
AppSpec file is used to:
Map the source file in the application revision to its destination on the instance.
Specify custom permissions for deployed files.
Specify the scripts to run on each instance at all stages of the deployment process.
You can run scripts on an instance after multiple separate deployment lifecycle events. CodeDeploy runs only the scripts specified in this file, but these scripts can invoke other scripts on the instance. You can run any type of script, as long as it is supported by the operating system running on the instance.
APPspec file on Lambda computing platform:
AppSpec file can also be in YAML or JSON format. It can also be typed directly into the editor in the console
AppSpec file is used to specify:
The version of the AWS Lambda function to deploy.
The function to be used as a validation test.
You can validate the Lambda function after deploying a lifecycle event.
How the codedeploy agent uses the APPspec file file:
During deployment, codedeploy's agent will look for the name of the current event in the hooks section of APPspec file. If it is not found, it will proceed to the next item. If found, the list of scripts to be executed will be retrieved. The script execution will be executed in the order in which it appears, and the running status of each script will be recorded in the codedeploy Agent log on the instance.
Note: the proxy for codedeploy is not used for lambda functions and ECS services on AWS.
During install, the codedeploy agent uses the mapping defined in the files section of the APPspec file to determine the folder or file to which the revision is copied
If the codedeploy agent installed on the operating system is inconsistent with the one defined in APPspec file, the deployment will fail
After reading this article, I believe you have a certain understanding of "what are the AWS automatic deployment codeploy application specification documents". If you want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.