Small Start Automation

400 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
400
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Small Start Automation

  1. 1. Small Start Automation AWS Team Hideaki Yanase
  2. 2. About meHideaki Yanase@oko_changServerworks Co., Ltd. AWS Team / Manager
  3. 3. Automation?Capistrano,Jenkins,Chef,Puppet,KickStart...To easy the operationReduce operator error
  4. 4. Engineer blogDo you read Serverworks engineer blog?Have you tried the contents of the blog?Do you know CloudInit?
  5. 5. ( ゚Д゚)Hey!!
  6. 6. CloudInitUbuntu PackageHandles earlyinitialization of a cloudinstancesInstalled in the UECimagesInstalled in the officialimages of ec2Besides, you can use inEucalyptus and Rackspace
  7. 7. Other Distributions
  8. 8. Matrix CloudInit Chef Puppet KickStartOS install ○ Bootstrap ○ ○ ○ ○Continuously ○ ○
  9. 9. How to use on AWS text by ib ed es cr d mp ly Si
  10. 10. Describe example(Ubuntu) #cloud-config apt_update: true resize_rootfs: true hostname: webserver timezone: “Asia/Tokyo” packages: - apache2 - php5
  11. 11. How to write (Amazon Linux) #cloud-config repo_upgrade: all packages: - httpd - php runcmd: - resize2fs /dev/xvda1 - cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime - service httpd start
  12. 12. ELB Demonstration #cloud-config packages: - httpd runcmd: - service httpd start - echo `hostname` > /var/www/html/index.html
  13. 13. EC2 API ToolsDo you have installed on your pc?
  14. 14. ( ゚Д゚)Hey!!
  15. 15. Specify user data $ ec2-run-instances ami-xxxxxxxx -k test-key -g sg-xxxxxxxx --instance-type t1.micro --user-data-file /path/to/the/userdata/file
  16. 16. SummaryCloudInit can be used easilyCloudInit can be used on variousplatforms
  17. 17. Helped meKeynoteRictyWebsite https://help.ubuntu.com/community/CloudInitGoogle Translate
  18. 18. Thanks!

×