建议升级到相同版本的 AWS EB 版本中的已弃用警告 [英] Deprecated warning in AWS EB version recommended to upgrade to same version

查看:22
本文介绍了建议升级到相同版本的 AWS EB 版本中的已弃用警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的ElasticBeanstalk环境有弃用警告,但是当我去换平台的时候,平台的当前版本和推荐的版本是一样的,所以我不知道如何去除弃用警告.

I have a deprecation warning in my ElasticBeanstalk environments, but when we I go to change the platform, the current version of the platform and the recommended one are the same, so I don't know how to remove the deprecation warning.

弃用警告

升级版本

环境在 64 位 Amazon Linux 2.11.9 上运行 Java 8.

The environments are running Java 8 on 64bit Amazon Linux 2.11.9.

推荐答案

您当前的平台是 Java 8 on 64bit Amazon Linux 2.11.9, 已于 2021 年 6 月下旬弃用.更重要的是这是 Amazon Linux 1(AL1) 平台.当前版本是仅基于 AL2:

Your current platform is Java 8 on 64bit Amazon Linux 2.11.9, made deprecated at the end of June 2021. What's more this is Amazon Linux 1 (AL1) platform. The current versions are only based on AL2:

  • 运行 Corretto 11 的 64 位 Amazon Linux 2 v3.2.2
  • 运行 Tomcat 8.5 Corretto 11 的 64 位 Amazon Linux 2 v4.2.2

遗憾的是,没有自动从 AL1 到 AL2 的迁移.两者之间的制动变化太多.您必须手动移植您的应用到基于 AL2 的 EB 平台,如下所述:

Sadly, there is no automated migration from AL1 to AL2. There is too much braking changes between the two. You have to manually port your app to AL2 based EB platforms as described in:

这篇关于建议升级到相同版本的 AWS EB 版本中的已弃用警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆