User Data Injection
Description
- User data injection
You can inject user data to customize your ECS. The user data you customized will be injected into an ECS upon its first startup. You can either upload a user data script or write the user data into the specified text box when you create an ECS.
- How to use
Before you inject user data, learn about Constraints.
- Write a user data script in a format defined by Cloud-init/Cloudbase-init.
- When you create an ECS, copy the script content to the User Data text box, or upload the script to the cloud platform.
- As text: Copy user data from the script to the text box.
- As file: Upload the user data script to the cloud platform.
- The new ECS will automatically run Cloud-Init or Cloudbase-Init to read the user data upon startup.
For details, see Injecting User Data.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot