diff --git a/app/_data/tables/install_options.yml b/app/_data/tables/install_options.yml index f35f97663a8c..6eaf37586d46 100644 --- a/app/_data/tables/install_options.yml +++ b/app/_data/tables/install_options.yml @@ -32,7 +32,7 @@ features: enterprise: true support: true icon: /assets/images/icons/documentation/rhel.jpg - - name: "Amazon Linux 2" + - name: "Amazon Linux 2023" url: /gateway/VERSION/install/linux/amazon-linux/ oss: true enterprise: true diff --git a/app/_data/tables/support/gateway/packages.yml b/app/_data/tables/support/gateway/packages.yml index 73bf630109e4..81b3c4d9cab5 100644 --- a/app/_data/tables/support/gateway/packages.yml +++ b/app/_data/tables/support/gateway/packages.yml @@ -22,7 +22,7 @@ _packages: graviton: false amazonlinux2023: &amazonlinux2023 os: Amazon Linux - version: 2022 + version: 2023 package: true arm: false fips: false diff --git a/app/_src/gateway/install/linux/amazon-linux.md b/app/_src/gateway/install/linux/amazon-linux.md index 30b429979898..b81d6a83004a 100644 --- a/app/_src/gateway/install/linux/amazon-linux.md +++ b/app/_src/gateway/install/linux/amazon-linux.md @@ -20,9 +20,51 @@ You can install {{site.base_gateway}} by downloading an installation package or > **Note:** {{site.base_gateway}} supports running on [AWS Graviton processors](https://aws.amazon.com/ec2/graviton/). It can run in all AWS Regions where AWS Graviton is supported. {% navtabs %} -{% navtab Package %} +{% navtab Package (AL2023) %} +Install {{site.base_gateway}} on Amazon Linux 2023 from the command line. -Install {{site.base_gateway}} on Amazon Linux from the command line. +1. Download the Kong package: + +{% capture download_package %} +{% navtabs_ee codeblock %} +{% navtab Kong Gateway %} +```bash +curl -Lo kong-enterprise-edition-{{page.versions.ee}}.aws.amd64.rpm "{{ site.links.download }}/gateway-3.x-amazonlinux-2023/Packages/k/kong-enterprise-edition-{{page.versions.ee}}.aws.amd64.rpm" +``` +{% endnavtab %} +{% navtab Kong Gateway (OSS) %} +```bash +curl -Lo kong-{{page.versions.ce}}.aws.amd64.rpm "{{ site.links.download }}/gateway-3.x-amazonlinux-2023/Packages/k/kong-{{page.versions.ce}}.aws.amd64.rpm" +``` +{% endnavtab %} +{% endnavtabs_ee %} +{% endcapture %} + +{{ download_package | indent | replace: " ", "" }} + +2. Install the package: + +{% capture install_package %} +{% navtabs_ee codeblock %} +{% navtab Kong Gateway %} +```bash +sudo yum install kong-enterprise-edition-{{page.versions.ee}}.aws.amd64.rpm +``` +{% endnavtab %} +{% navtab Kong Gateway (OSS) %} +```bash +sudo yum install kong-{{page.versions.ce}}.aws.amd64.rpm +``` +{% endnavtab %} +{% endnavtabs_ee %} +{% endcapture %} + +{{ install_package | indent | replace: " ", "" }} + +{% endnavtab %} +{% navtab Package (Amazon Linux 2) %} + +Install {{site.base_gateway}} on Amazon Linux 2 from the command line. 1. Download the Kong package: @@ -63,13 +105,40 @@ sudo yum install kong-{{page.versions.ce}}.aws.amd64.rpm {{ install_package | indent | replace: " ", "" }} {% endnavtab %} -{% navtab YUM repository %} +{% navtab YUM repository (AL2023) %} Install the YUM repository from the command line. -{% include_cached /md/gateway/rpm-gpg-key-2023.md kong_version=page.kong_version %} +1. Download the Kong APT repository: + ```bash + curl https://download.konghq.com/gateway-3.x-amazonlinux-2023/config.repo | sudo tee /etc/yum.repos.d/kong.repo + ``` + +2. Install Kong: + +{% capture install_from_repo %} +{% navtabs_ee codeblock %} +{% navtab Kong Gateway %} +```bash +sudo yum install kong-enterprise-edition-{{page.versions.ee}} +``` +{% endnavtab %} +{% navtab Kong Gateway (OSS) %} +```bash +sudo yum install kong-{{page.versions.ce}} +``` +{% endnavtab %} +{% endnavtabs_ee %} +{% endcapture %} + +{{ install_from_repo | indent | replace: " ", "" }} + +{% endnavtab %} +{% navtab YUM repository (Amazon Linux 2) %} + +Install the YUM repository from the command line. -1. Download the Kong YUM repository: +1. Download the Kong APT repository: ```bash curl https://download.konghq.com/gateway-3.x-amazonlinux-2/config.repo | sudo tee /etc/yum.repos.d/kong.repo ```