V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
qq286735628
V2EX  ›  Amazon Web Services

收到Amazon EC2 Instance scheduled for retirement邮件,有个实例本月底会被关闭,这神马情况?

  •  
  •   qq286735628 ·
    qq286735628 · 2013-05-17 09:49:43 +08:00 · 4590 次点击
    这是一个创建于 3968 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我登录console.aws.amazon.com,发现我的Instance多了一个Events,并且该Events还不能取消



    难道月底我必须删掉这个Instance,然后再重新新建一个?

    邮件原文:

    Dear Amazon EC2 Customer,

    One or more of your Amazon EC2 instances in the ap-southeast-1 region is scheduled for retirement. The following instance(s) will be shut down after 12:00 AM UTC on 2013-05-31.

    i-f7b263a1

    We recommend that you launch a replacement for each retiring instance and begin migrating to it. You can do this by stopping and re-starting your instance, or by terminating it and launching a new one in its place.

    You can see more information on the instances scheduled for retirement in the AWS Management Console at https://console.aws.amazon.com/ec2/home?region=ap-southeast-1#s=Events

    For more information about scheduled retirement events, please see Monitoring Scheduled Events in the EC2 user guide: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html

    If your instance's root device is an EBS volume, the instance will be stopped after the retirement date, and you can start it again at any time. You can prevent retirement for this instance by issuing a stop and start from the AWS Management Console. Doing so will migrate your instance to new hardware and help reduce unforeseen downtime. For more information about how to stop and start your instance please see Stopping and Starting Instances in the EC2 user guide: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/starting-stopping-instances.html

    In case of difficulties stopping your instance, please see the Instance FAQ: http://aws.amazon.com/instance-help/#ebs-stuck-stopping

    If your instance's root device is an instance store, it will be terminated after the retirement date. We recommend that you launch a replacement instance from your most recent AMI and migrate all necessary data to the replacement instance before this time.

    Warning: Any data not stored in an EBS volume will be lost when your instance is stopped or terminated.

    If you have any questions or concerns, you can contact the AWS Support Team on the community forums and via AWS Premium Support at: http://aws.amazon.com/support

    Sincerely,
    Amazon Web Services

    This message was produced and distributed by Amazon Web Services LLC, 410 Terry Avenue North, Seattle, Washington 98109-5210

    Reference: 0bd09976-8767-4f53-99cf-05c2530e7c5b
    4 条回复    2020-01-02 22:23:57 +08:00
    lichao
        1
    lichao  
       2013-05-17 09:53:25 +08:00
    重新新建一个,然后迁移过去。
    总感觉 EC2 有点复杂,让人望而生畏
    sNullp
        2
    sNullp  
       2013-05-17 10:01:09 +08:00   ❤️ 1
    You can do this by stopping and re-starting your instance
    qq286735628
        3
    qq286735628  
    OP
       2013-05-17 10:09:27 +08:00
    居然reboot不起作用,必须要stop然后再start,那个Events就消失了。

    关闭重新开启后,原来绑定的固定IP也需要重新 绑定了。
    aijisud
        4
    aijisud  
       2020-01-02 22:23:57 +08:00
    | 居然 reboot 不起作用,必须要 stop 然后再 start,那个 Events 就消失了。
    | 关闭重新开启后,原来绑定的固定 IP 也需要重新 绑定了。
    \__
    这个回复是正确的。


    我刚刚处理过这个问题。权当做英文阅读理解了...
    官方说明文档,https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-retirement.html#instance-retirement-working

    1、对应看“Managing Instances Scheduled for Retirement”部分,一般按照模板建立的 EC2 实例,Instance Root Device Type 为 EBS。

    2、所以操作就是“Wait for the scheduled retirement date - when the instance is stopped - or stop the instance yourself before the retirement date. You can start the instance again at any time.”

    3、stop 并且 start 实例的时候,在内存中非持久化的数据都会丢失,这个一般都没影响。

    4、比较重要,一般需要引起重视的是,IP 变化了:
    ( 1 )如果使用 putty 远程服务器,需要用新 IP 或 AWS 提供的域名 ec2-xx-xx-xxx-xxx.compute-1.amazonasw.com
    ( 2 )如果绑定了域名,需要设置 DNS ;
    ( 3 )其他的,如果服务本身里面有 IP 设置,也需要重新设置。

    其他应该没有了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3091 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 14:31 · PVG 22:31 · LAX 07:31 · JFK 10:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.