作者:我是田小勇2702932553 | 来源:互联网 | 2023-05-19 10:48
ImbuildingsomeAMIsfromoneofthebasiconesonEC2.OneoftheinstancetypesisrunningTomca
I'm building some AMIs from one of the basic ones on EC2. One of the instance types is running Tomcat and contains a lot of Lucene indexes; another instance will be running MySQL and have correspondingly large data requirements with it.
我正在从EC2上的一个基本AMI构建一些AMI。其中一个实例类型是运行Tomcat并包含许多Lucene索引;另一个实例将运行MySQL,并具有相应的大数据要求。
I'm trying to define the best way to include those in the AMIs that I'm authoring. If I mount /mnt/lucene
and /mnt/mysql
, those don't get included in the AMI generated. So it seems to me like the preferred way to deal with those is to have an EBS for each one, take snapshots and spin up instances which have their own EBS based on the most recent snapshots. Is that the best way to proceed?
我正在尝试定义在我正在创作的AMI中包含这些内容的最佳方法。如果我挂载/ mnt / lucene和/ mnt / mysql,那些不会包含在生成的AMI中。所以在我看来,处理这些问题的首选方法是为每个人设置一个EBS,拍摄快照并根据最新的快照启动拥有自己的EBS的实例。这是最好的方法吗?
What is the point of instance storage? It seems like it will only work as a temporary storage area - what am I missing? Presumably there is a reason Amazon offer up to 800GB of storage on standard large instances...
实例存储有什么意义?它似乎只能用作临时存储区 - 我错过了什么?据推测,亚马逊在标准大型实例上提供高达800GB的存储空间是有原因的......
3 个解决方案