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的更多相关文章
随机推荐
- 学习SVG系列(1):SVG基础
什么是SVG? 1.指可伸缩矢量图形 2.用来定义用于网络的基于矢量的图形 3.使用XML格式定义图形 4.图像在放大或改变尺寸的情况下其图形不会有所损失 5.万维网联盟的标准, 用于描述二维矢量图形 ...
- opnet学习过程
学习opnet有一段时间了,走了 不少弯路,现在,想总结一下,推荐给大家一个比较好的学习过程. 因为英语不太好,所以在开始学opnet时用了很多心思去找中文资料,比如说,一些文档.书.视频等.看文档和 ...
- 第三次作业 GIThub操作
一.Git 客户端操作 1.在project文件夹初始化一个repository 2.添加并提交readme.txt 3.修改并查看状态 4.多次修改并提交 5.创建分支mv1并checkout至该分 ...
- Direct3D 10学习笔记(四)——Windows编程
本篇将简单整理基本的Windows应用程序的实现,并作为创建Direct3D 10应用程序的铺垫.具体内容参照< Introduction to 3D Game Programming with ...
- 用HTML和CSS实现WWDC 2015上的动画效果
用HTML和CSS实现WWDC 2015上的动画效果 动画效果WWDC 2015 原文:https://cssanimation.rocks/wwdc15/ 译者:周晓楷(@Helkyle) 每年 ...
- 关于OpenGL的绘制上下文
什么是绘制上下文(Rendering Context) 初学OpenGL,打开红宝书,会告诉你OpenGL是个状态机,OpenGL采用了客户端-服务器模式,那时觉得好抽象,直到后来了解了绘制上下文才把 ...
- SDK截图程序(二):保存截图
怎样将我们上一篇截取的位图保存在文件夹里.根据MSDN,思路是这样的,用CreateFile函数在磁盘建立一个bmp文件,用WriteFile填充该bmp文件的文件头.信息头,像素等信息.之前我们只有 ...
- devexpress xaf 开发中遇到的问题.
devexpress xaf 开发中遇到的问题很多久了就忘记了.每天都把开发内容记录下来,方便大家,方便自己
- linux 查找文件与进程常用命令
Linux的五个查找命令 1. find find是最常见和最强大的查找命令,你可以用它找到任何你想找的文件. find的使用格式如下: $ find <指定目录> <指定条件> ...
- 在 2016 年学 JavaScript 是一种什么样的体验?
转 译者:方应杭 嘿,我最近接到一个 Web 项目,不过老实说,我这两年没怎么接触 Web 编程,听说 Web 技术已经发生了一些变化.听说你是这里对新技术最了解的 Web 开发工程师? 准确地说,我 ...