1. System Operations - Lab 6: Using Amazon Elastic Load Balancer (Linux) - 2.5
  2. ==================================================================================================================
  3.  
  4. Using this command reference.
  5.  
  6. ==================================================================================================================
  7.  
  8. 1. Locate the section you need. Each section in this file matches a section in the lab instructions.
  9.  
  10. 2. Replace items in angle brackets - < > - with appropriate values. For example, in this command you would replace the value - <JobFlowID> - (including the brackets) with the parameter indicated in the lab instructions:
  11.  
  12. elastic-mapreduce --list <JobFlowID>.
  13.  
  14. You can also use find and replace to change bracketed parameters in bulk.
  15.  
  16. 3. Do NOT enable the Word Wrap feature in Windows Notepad or the text editor you use to view this file.
  17.  
  18. ++++1. Create a New Amazon Machine Image++++
  19.  
  20. ==================================================================================================================
  21. 1.4 Create New EC2 Instance
  22. ==================================================================================================================
  23.  
  24. 1.4.1 Inspect the script UserData.txt
  25.  
  26. more UserData.txt
  27.  
  28. 1.4.2 Create your new EC2 instance
  29.  
  30. aws ec2 run-instances --key-name <key-name> --instance-type t2.micro --image-id <ami-id> --user-data file:///home/ec2-user/UserData.txt --security-group-ids <sg-id> --subnet-id <subnet-id> --associate-public-ip-address
  31.  
  32. 1.4.3 Monitor the instance status
  33.  
  34. aws ec2 describe-instance-status --instance-id <new-instance-id>
  35.  
  36. 1.4.4 Obtain public DNS name of new Web server
  37.  
  38. aws ec2 describe-instances --instance-id <new-instance-id> --query 'Reservations[0].Instances[0].NetworkInterfaces[0].Association.PublicDnsName'
  39.  
  40. 1.4.5 Test Web server using curl command
  41.  
  42. curl http://<public-dns-address>/ec2-stress/index.php
  43.  
  44. ==================================================================================================================
  45. 1.5 Create a Custom AMI
  46. ==================================================================================================================
  47.  
  48. 1.5.1 Create a new AMI based on the new instance
  49.  
  50. aws ec2 create-image --name WebServer --instance-id <new-instance-id>
  51.  
  52. 2016 Amazon Web Services, Inc. or its affiliates. All rights reserved.

Lab_6_SysOps_AutoScaling_Linux_v2.5的更多相关文章

随机推荐

  1. 学习SVG系列(1):SVG基础

    什么是SVG? 1.指可伸缩矢量图形 2.用来定义用于网络的基于矢量的图形 3.使用XML格式定义图形 4.图像在放大或改变尺寸的情况下其图形不会有所损失 5.万维网联盟的标准, 用于描述二维矢量图形 ...

  2. opnet学习过程

    学习opnet有一段时间了,走了 不少弯路,现在,想总结一下,推荐给大家一个比较好的学习过程. 因为英语不太好,所以在开始学opnet时用了很多心思去找中文资料,比如说,一些文档.书.视频等.看文档和 ...

  3. 第三次作业 GIThub操作

    一.Git 客户端操作 1.在project文件夹初始化一个repository 2.添加并提交readme.txt 3.修改并查看状态 4.多次修改并提交 5.创建分支mv1并checkout至该分 ...

  4. Direct3D 10学习笔记(四)——Windows编程

    本篇将简单整理基本的Windows应用程序的实现,并作为创建Direct3D 10应用程序的铺垫.具体内容参照< Introduction to 3D Game Programming with ...

  5. 用HTML和CSS实现WWDC 2015上的动画效果

    用HTML和CSS实现WWDC 2015上的动画效果 动画效果WWDC 2015   原文:https://cssanimation.rocks/wwdc15/ 译者:周晓楷(@Helkyle) 每年 ...

  6. 关于OpenGL的绘制上下文

    什么是绘制上下文(Rendering Context) 初学OpenGL,打开红宝书,会告诉你OpenGL是个状态机,OpenGL采用了客户端-服务器模式,那时觉得好抽象,直到后来了解了绘制上下文才把 ...

  7. SDK截图程序(二):保存截图

    怎样将我们上一篇截取的位图保存在文件夹里.根据MSDN,思路是这样的,用CreateFile函数在磁盘建立一个bmp文件,用WriteFile填充该bmp文件的文件头.信息头,像素等信息.之前我们只有 ...

  8. devexpress xaf 开发中遇到的问题.

    devexpress xaf 开发中遇到的问题很多久了就忘记了.每天都把开发内容记录下来,方便大家,方便自己

  9. linux 查找文件与进程常用命令

    Linux的五个查找命令 1. find find是最常见和最强大的查找命令,你可以用它找到任何你想找的文件. find的使用格式如下: $ find <指定目录> <指定条件> ...

  10. 在 2016 年学 JavaScript 是一种什么样的体验?

    转 译者:方应杭 嘿,我最近接到一个 Web 项目,不过老实说,我这两年没怎么接触 Web 编程,听说 Web 技术已经发生了一些变化.听说你是这里对新技术最了解的 Web 开发工程师? 准确地说,我 ...