AWS保留的EC2实例是否适用于免费市场实例?

时间:2013-07-24 15:11:42

标签: amazon-web-services

我使用 AWS marketplace CentOS 微型和小型实例作为我的实例的图像库。

查看EC2实例预留用户界面,有几个选项可供选择,例如:

  • 的Linux / Unix
  • Linux / Unix(Amazon VPC)
  • 粟色...
  • 的RedHat ...

CentOS不是EC2的标准选项,但它是一个免费的市场形象。如果我采用与我的CentOS图像大小(微小)匹配的上述第一个选项(Linux / Unix),保留实例的定价是否适用于我创建的CentOS图像?

2 个答案:

答案 0 :(得分:1)

对于CentOS AMI,您可能希望选择Linux / Unix或Linux / Unix(VPC),具体取决于您使用的是EC2 classic还是VPC。

列表中存在其他平台类型的原因是因为这些类型的服务器的每小时服务器使用成本中附加了额外的许可费用。 SUSE,Redhat Enterprise Linux,Microsoft Windows Server,Microsoft Windows Server + SQL Server都需要付费许可(亚马逊将其纳入使用成本)。这不适用于CentOS;在这种情况下,“平台”只是“Linux / Unix”(或Linux / Unix(VPC))。

答案 1 :(得分:0)

Amazon Linux 基于CentOS。它 CentOS,但AWS管理作为标准安装的软件,以及哪些版本的软件(例如Python)。

通过运行public class Consultation { private int consultationID, categoryID, priorityID; private String title, startTime, endTime, studentZID, categoryName, priorityName, note; private ArrayList<String> students; public int getConsultationID() { return consultationID; } public void setConsultationID(int consultationID) { this.consultationID = consultationID; } public String getStartTime() { return startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } public String getEndTime() { return endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public Consultation(int consultationID, String title, String startTime, String endTime, ArrayList<String> students, int categoryID, String categoryName, int priorityID, String priorityName, String note) { this.consultationID = consultationID; this.title = title; this.startTime = startTime; this.endTime = endTime; this.categoryID = categoryID; this.students = new ArrayList<>(students); this.categoryName = categoryName; this.priorityID = priorityID; this.priorityName = priorityName; this.note = note; } public Consultation(int categoryID, int priorityID, String title, String startTime, String endTime, ArrayList<String> students, String note) { this.categoryID = categoryID; this.priorityID = priorityID; this.title = title; this.startTime = startTime; this.endTime = endTime; this.students = new ArrayList<>(students); this.note = note; } public String getStudentZID() { return studentZID; } public void setStudentZID(String studentZID) { this.studentZID = studentZID; } public void setTitle(String title) { this.title = title; } public void setNote(String note) { this.note = note; } public void setCategoryID(int categoryID) { this.categoryID = categoryID; } public void setPriorityID(int priorityID) { this.priorityID = priorityID; } public String getTitle() { return title; } public void setCategoryName(String categoryName) { this.categoryName = categoryName; } public void setPriorityName(String priorityName) { this.priorityName = priorityName; } public String getNote() { return note; } public String getCategoryName() { return categoryName; } public String getPriorityName() { return priorityName; } public int getCategoryID() { return categoryID; } public int getPriorityID() { return priorityID; } public ArrayList<String> getStudents() { return students; } public String zIDsToString() { String list = ""; for (String student : students) { list += student + ","; } list = list.substring(0, list.length()-1); return list; } } ,可以将Amazon Linux实例更新到最新版本。

因此,如果您想在EC2上使用CentOS,最好的选择是在启动EC2实例时使用快速启动屏幕中显示的 Amazon Linux AMI。如果您在AWS账户的前12个月内,它还有资格获得免费使用套餐