Connecting to AL2023 instances - Amazon Linux 2023
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Connecting to AL2023 instances

Use SSH or Amazon Systems Manager to connect to your AL2023 instance.

Connect to your instance using SSH

For instructions on how to use SSH to connect to an instance, see Connect to your Linux instance using SSH in the Amazon EC2 User Guide for Linux Instances.

Connect to your instance using Amazon Systems Manager

For instructions on how to use Amazon Systems Manager to connect to an AL2023 instance, see Connect to your Linux instance using Session Manager in the Amazon EC2 User Guide for Linux Instances.

Using Amazon EC2 Instance Connect

The AL2023 AMI, excluding the minimal AMI, comes with the EC2 Instance Connect agent installed by default. To use EC2 Instance Connect with an AL2023 instance launched from the minimal AMI, you must install the ec2-instance-connect package. For instructions on using EC2 Instance Connect, see Connect to your Linux instance with EC2 Instance Connect in the Amazon EC2 User Guide for Linux Instances.