Create AWS EC2 Instance

AWS stands for Amazon Web Services. This page is going to introduce how to build an AWS EC2 Instance step by step.


1.    Create an Amazon account @ Create AWS Account

2.    Choose EC2 @ AWS - Services, more info about detail definition of these services names can be viewed @ AWS in Plain English

3.    Choose region as where is near you

4.    Click on Launch Instance to launch an instance - Choose OS(ubuntu/linux/unix) - Set up IAM role in some cases - Add storage - Create name tag - Configure Security Group - Select key pair

5.    Security Group(name can be changed)

inbound - http : HTTP - TCP - 80 - 0.0.0.0/0

inbound - http: HTTPS - TCP - 443 - 0.0.0.0/0

meteor-ssh: SSH - TCP - 22 - 0.0.0.0/0

Appropriate security group can be used to resolve the problem of [operation time out at port 22]

6.    Key Pair

Use existed key pair or create a new one, download the .pem file to be added into .aws folder.

7.    Now you can view the instances you have launched and their detail info


Connect to EC2 instance from terminal

1.    ssh -i keyPair.pem username@ip_address

2.    username can be checked at AWS instance username

Amazon Linux AMI - ec2-user.

RHEL5 AMI - root/ec2-user

Ubuntu AMI - ubuntu

Fedora AMI - fedora/ec2-user

SUSE Linux - root/ec2-user


Connect to EC2 instance by AWS CLI @ Official Site of CLI and AWS CLI

1.    Configuration and Credential Files @ Configuring AWS CLI

2.    SASH(Secure Shell wrapper) used to replace ssh @ SASH

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 134,991评论 19 139
  • 处女座的我一直认为:爱是感性,不爱是理性。爱要狂热,不爱要理智;爱与不爱都需要纯净透明。可是,当岁月爬上我的...
    Joanna依莲阅读 263评论 0 0
  • 她,顶着个“西瓜皮”头,坐在老宅的门槛上嗷嚎大哭…… 雨丝如白针极速地落下,密密麻麻,不远处的电线上挂着个红色塑料...
    漫云汐阅读 180评论 3 1
  • 原题 计算两个数组的交注意事项每个元素出现次数得和在数组里一样答案可以以任意顺序给出 样例nums1 = [1, ...
    Jason_Yuan阅读 202评论 0 0
  • 今天所读的段落,虽然道理是浅显易懂的,但笑来老师的视角非常有意思。 首先,用“交换”的理念,破解浮躁的速成心理。 ...
    史妍阅读 217评论 0 0