Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

mime.sh 780 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  1. # AWS EC2 instance startup 'MIME' script https://aws.amazon.com/premiumsupport/knowledge-center/execute-user-data-ec2/
  2. # This script will run on every instance restart, not only on first start
  3. # --- DO NOT COPY ABOVE COMMENTS WHEN PASTING INTO USERDATA ---
  4. Content-Type: multipart/mixed; boundary="//"
  5. MIME-Version: 1.0
  6. --//
  7. Content-Type: text/cloud-config; charset="us-ascii"
  8. MIME-Version: 1.0
  9. Content-Transfer-Encoding: 7bit
  10. Content-Disposition: attachment; filename="cloud-config.txt"
  11. #cloud-config
  12. cloud_final_modules:
  13. - [scripts-user, always]
  14. --//
  15. Content-Type: text/x-shellscript; charset="us-ascii"
  16. MIME-Version: 1.0
  17. Content-Transfer-Encoding: 7bit
  18. Content-Disposition: attachment; filename="userdata.txt"
  19. #!/bin/bash
  20. # --- paste contents of userdata.sh here ---
  21. --//
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...