In the console, click on Instances, then Launch Instance to create a new virtual machine. There are lots of operating systems to choose from; a good choice for a first instance would be 32-bit Ubuntu running on an m1.small instance.
If you already have a Keypair, select the one you want from the list. Otherwise, you can create a new Keypair in the Keypair dialog. When the new instance has been created, you can use the keypair to connect to it, using a command like:
ssh -i siva_keypair root@InstancePublicDNS
You can get the instance public DNS name from the console. At this point, you're basically logged on to a new machine, and can use it in any way you would use a real, physical machine.
By the sound of it, you're going to want to create some user accounts, install an FTP server and MySQL (use apt-get if you're on Ubuntu).
Note that you can lose data which you put on the local disk if an instance goes down - if you're running a database you should use EBS which is very easy to set up, and gets you persistent, fast storage which can be attached to any EC2 instance.
发布评论
评论(1)
由于您拥有 Amazon 和 EC2 帐户,因此您可以使用他们的控制台:https://console.aws.amazon。 com/ec2/home。
在控制台中,单击实例,然后单击启动实例以创建新的虚拟机。 有很多操作系统可供选择; 第一个实例的一个不错选择是在
m1.small
实例上运行 32 位 Ubuntu。如果您已有密钥对,请从列表中选择所需的密钥对。 否则,您可以在密钥对对话框中创建新的密钥对。 创建新实例后,您可以使用密钥对连接到它,使用如下命令:
您可以从控制台获取实例公共 DNS 名称。 此时,您基本上已登录到一台新计算机,并且可以像使用真实物理计算机一样以任何方式使用它。
听起来,您将需要创建一些用户帐户,安装 FTP 服务器和 MySQL(如果您使用的是 Ubuntu,请使用 apt-get)。
请注意,如果实例出现故障,您可能会丢失放在本地磁盘上的数据 - 如果您正在运行数据库,则应使用 EBS 非常容易设置,并为您提供持久、快速的存储,该存储可以附加到任何 EC2 实例。
Since you have an account with Amazon and EC2, you can use their console: https://console.aws.amazon.com/ec2/home.
In the console, click on Instances, then Launch Instance to create a new virtual machine. There are lots of operating systems to choose from; a good choice for a first instance would be 32-bit Ubuntu running on an
m1.small
instance.If you already have a Keypair, select the one you want from the list. Otherwise, you can create a new Keypair in the Keypair dialog. When the new instance has been created, you can use the keypair to connect to it, using a command like:
You can get the instance public DNS name from the console. At this point, you're basically logged on to a new machine, and can use it in any way you would use a real, physical machine.
By the sound of it, you're going to want to create some user accounts, install an FTP server and MySQL (use
apt-get
if you're on Ubuntu).Note that you can lose data which you put on the local disk if an instance goes down - if you're running a database you should use EBS which is very easy to set up, and gets you persistent, fast storage which can be attached to any EC2 instance.