Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCU-3167] Update references to Amazon Linux 2023 #5841

Merged
merged 5 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/_data/tables/install_options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ features:
enterprise: true
support: true
icon: /assets/images/icons/documentation/rhel.jpg
- name: "Amazon Linux 2"
- name: "Amazon Linux"
url: /gateway/VERSION/install/linux/amazon-linux/
oss: true
enterprise: true
Expand Down
2 changes: 1 addition & 1 deletion app/_data/tables/support/gateway/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ _packages:
graviton: false
amazonlinux2023: &amazonlinux2023
os: Amazon Linux
version: 2022
version: 2023
package: true
arm: false
fips: false
Expand Down
82 changes: 78 additions & 4 deletions app/_src/gateway/install/linux/amazon-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,57 @@ Kong is licensed under an

## Download and Install

You can install {{site.base_gateway}} by downloading an installation package or using our yum repository.
You can install {{site.base_gateway}} by downloading an installation package or using the yum repository.

{:.note}
> **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}}.rpm $(rpm --eval {{ site.links.cloudsmith }}/public/gateway-{{ page.major_minor_version }}/rpm/amzn/%{amzn}/x86_64/kong-enterprise-edition-{{page.versions.ee}}.aws.x86_64.rpm)
```
{% endnavtab %}
{% navtab Kong Gateway (OSS) %}
```bash
curl -Lo kong-{{page.versions.ce}}.rpm $(rpm --eval {{ site.links.cloudsmith }}/public/gateway-{{ page.major_minor_version }}/rpm/amzn/%{amzn}/x86_64/kong-{{page.versions.ce}}.aws.x86_64.rpm)
curiositycasualty marked this conversation as resolved.
Show resolved Hide resolved
```
{% endnavtab %}
{% endnavtabs_ee %}
{% endcapture %}

{{ download_package | indent | replace: " </code>", "</code>" }}

2. Install the package:

{% capture install_package %}
{% navtabs_ee codeblock %}
{% navtab Kong Gateway %}
```bash
sudo yum install kong-enterprise-edition-{{page.versions.ee}}.rpm
```
{% endnavtab %}
{% navtab Kong Gateway (OSS) %}
```bash
sudo yum install kong-{{page.versions.ce}}.rpm
```
{% endnavtab %}
{% endnavtabs_ee %}
{% endcapture %}

{{ install_package | indent | replace: " </code>", "</code>" }}

{% endnavtab %}
{% navtab Package (Amazon Linux 2) %}

Install {{site.base_gateway}} on Amazon Linux 2 from the command line.

1. Download the Kong package:

Expand Down Expand Up @@ -63,11 +105,43 @@ sudo yum install -y kong-{{page.versions.ce}}.rpm
{{ install_package | indent | replace: " </code>", "</code>" }}

{% endnavtab %}
{% navtab YUM repository %}
{% navtab YUM repository (AL2023) %}

Install the YUM repository from the command line.

1. Download the Kong YUM repository:

```bash
curl -1sLf "{{ site.links.cloudsmith }}/public/gateway-{{ page.major_minor_version }}/config.rpm.txt?distro=amzn&codename=$(rpm --eval '%{amzn}')" | sudo tee /etc/yum.repos.d/kong-gateway-{{ page.major_minor_version }}.repo > /dev/null
sudo yum -q makecache -y --disablerepo='*' --enablerepo='kong-gateway-{{ page.major_minor_version }}'
```

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: " </code>", "</code>" }}

{% endnavtab %}
{% navtab YUM repository (Amazon Linux 2) %}

Install the YUM repository from the command line.

1. Download the Kong YUM repository:

```bash
curl -1sLf "{{ site.links.cloudsmith }}/public/gateway-{{ page.major_minor_version }}/config.rpm.txt?distro=amzn&codename=$(rpm --eval '%{amzn}')" | sudo tee /etc/yum.repos.d/kong-gateway-{{ page.major_minor_version }}.repo > /dev/null
sudo yum -q makecache -y --disablerepo='*' --enablerepo='kong-gateway-{{ page.major_minor_version }}'
Expand Down