- Newest
- Most votes
- Most comments
I apologize, but there are a few inaccuracies in your question that need to be addressed before we can discuss potential solutions:
-
Ubuntu 24.04 LTS has not been released yet. The latest LTS version of Ubuntu is 22.04 LTS (Jammy Jellyfish), released in April 2022. Ubuntu 24.04 LTS is expected to be released in April 2024.
-
The AWS CodeDeploy agent is not currently available for ARM64 architecture on Ubuntu. The agent is primarily designed for x86/x64 architectures.
Given these facts, here are the issues you're facing:
- You're using an ARM64 instance (t4g.medium), which is not supported by the CodeDeploy agent.
- You're attempting to use an unreleased version of Ubuntu.
To resolve your deployment issues, you have a few options:
-
Switch to an x86/x64 instance type (e.g., t3.medium instead of t4g.medium) and use a supported Ubuntu version like 22.04 LTS. This is the most straightforward solution if you need to use CodeDeploy.
-
If you must use an ARM64 instance, you'll need to explore alternative deployment methods. This could include using AWS Systems Manager Run Command, AWS OpsWorks, or implementing your own deployment scripts using tools like Ansible or Puppet.
-
Wait for AWS to potentially add support for ARM64 architecture in future CodeDeploy agent releases. However, there's no guarantee when or if this will happen.
-
If your application can run on other supported operating systems that work with ARM64, you could consider switching to Amazon Linux 2023 or Amazon Linux 2, which have ARM64 support for the CodeDeploy agent.
In the meantime, for your current setup, you'll need to implement a manual or alternative automated deployment process that doesn't rely on the CodeDeploy agent. This could involve using SSH to connect to the instance and pull updates from your repository, or using other configuration management tools that support ARM64 architecture.
Sources
Can't install AWS ADS on arm instance | AWS re:Post
Failed to Install the CodeDeploy Agent Using AWS Systems Manager | AWS re:Post
Install the CodeDeploy agent using AWS Systems Manager - AWS CodeDeploy
Relevant content
- asked 3 years ago
Does this mean that even if Amazon releases a new version of AWS CodeDeploy host agent for Ubuntu Server 24.04 LTS, it will support only x86/x64? Why is that, when the host agent already supports ARM64 based EC2 instances running Amazon Linux 2/Amazon Linux 2023? Can someone from Amazon confirm this?