Lab_6_SysOps_AutoScaling_Linux_v2.5
System Operations - Lab 6: Using Amazon Elastic Load Balancer (Linux) - 2.5
================================================================================================================== Using this command reference. ================================================================================================================== 1. Locate the section you need. Each section in this file matches a section in the lab instructions. 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: elastic-mapreduce --list <JobFlowID>. You can also use find and replace to change bracketed parameters in bulk. 3. Do NOT enable the Word Wrap feature in Windows Notepad or the text editor you use to view this file. ++++1. Create a New Amazon Machine Image++++ ==================================================================================================================
1.4 Create New EC2 Instance
================================================================================================================== 1.4.1 Inspect the script UserData.txt more UserData.txt 1.4.2 Create your new EC2 instance 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 1.4.3 Monitor the instance status aws ec2 describe-instance-status --instance-id <new-instance-id> 1.4.4 Obtain public DNS name of new Web server aws ec2 describe-instances --instance-id <new-instance-id> --query 'Reservations[0].Instances[0].NetworkInterfaces[0].Association.PublicDnsName' 1.4.5 Test Web server using curl command curl http://<public-dns-address>/ec2-stress/index.php ==================================================================================================================
1.5 Create a Custom AMI
================================================================================================================== 1.5.1 Create a new AMI based on the new instance aws ec2 create-image --name WebServer --instance-id <new-instance-id> 漏 2016 Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lab_6_SysOps_AutoScaling_Linux_v2.5的更多相关文章
随机推荐
- Android编译系统参考手册
build/core/clear_vars.mk Clear out values of all variables used by rule templates 清除LOCAL变量,每个模块的And ...
- Java中的Exception
Caused by: java.lang.IllegalArgumentException: The servlets named [XXX] and [YYY] are both mapped to ...
- AI第一次作业
1. 你认为什么是人工智能? 在我看来,人工智能是是对人的意识.思维的信息过程的高度模拟,虽然它不是人的智能,但是高度模仿人的思考方式,加上它的信息高度集中,对信息的处理速度快,甚至于超过 ...
- 设置ubuntu 下git 的用户名和邮箱
设置ubuntu 下git 的用户名和邮箱 摘自 慢慢修远路,上下求索心http://yanshaozhi.iteye.com/blog/386752 虽然我没看怎么明白 但我用第一总方法就设置好了 ...
- Android模拟器Genymotion如何访问本地服务器?
Genymotion能否访问到本地服务器,其实与Genymotion本身并无太大关系.Genymotion作为VirtualBox中的一个虚拟OS运行,所以它访问网络的方式与其他VirtualBox中 ...
- IO消息机制
同步阻塞 同步非阻塞 异步阻塞 异步非阻塞 同步是函数自身等待结果 异步可采用状态轮询/通知/回调 返回结果: 阻塞和非阻塞的关注点是在等待消息的时候 线程的状态 同步阻塞 线程挂起 逻辑上函数不马上 ...
- 浏览器 HTTP 协议缓存机制详解
最近在准备优化日志请求时遇到了一些令人疑惑的问题,比如为什么响应头里出现了两个 cache control.为什么明明设置了 no cache 却还是发请求,为什么多次访问时有时请求里带了 etag, ...
- TOJ3136
3136: Ubiquitous Religions 时间限制(普通/Java):2000M ...
- App Transport Security has blocked a cleartext HTTP (http://)
使用SDWebImage加载“http://”开头的图片报错,错误如下: App Transport Security has blocked a cleartext HTTP (http://) r ...
- commons-httpclient中的超时设置
connectionTimeout与soTimeout的差异,前者指创建一个有效的客户端到服务端链接的最大允许时间,后者指socket接收data的时间. connectionManager.getP ...