- Newest
- Most votes
- Most comments
While it's technically possible to run Microsoft SQL Server on Linux, including Amazon Linux, there are some important considerations and potential issues with the approach you've described:
-
SQL Server Developer Edition is not officially supported on Amazon Linux 2023. Microsoft's documentation typically refers to Red Hat Enterprise Linux (RHEL) or Ubuntu for Linux installations.
-
The instance type t2.medium should be sufficient for SQL Server Developer Edition, as it meets the minimum RAM requirements.
-
The installation steps you followed are for Red Hat Enterprise Linux 8, which may not be fully compatible with Amazon Linux 2023.
-
The lack of an errorlog file in /var/opt/mssql/log suggests that the SQL Server service is failing to start properly.
To resolve this issue, you have a few options:
-
Consider using an officially supported Linux distribution for SQL Server, such as RHEL or Ubuntu.
-
If you must use Amazon Linux, try using Amazon Linux 2 instead of Amazon Linux 2023, as it may have better compatibility with the SQL Server installation process.
-
Check system requirements and ensure all prerequisites are met for SQL Server on Linux.
-
Review system logs (e.g., /var/log/messages) for any error messages related to SQL Server startup.
-
Verify that SELinux or other security measures are not interfering with SQL Server's operation.
If you need to run SQL Server Developer Edition on AWS, a more straightforward approach would be to use Amazon RDS for SQL Server or launch a Windows EC2 instance with SQL Server pre-installed. These options provide better support and compatibility for running SQL Server in the AWS environment.
Sources
Create a SQL Server Developer Edition instance using BYOM on Amazon RDS Custom for SQL Server | AWS Database Blog
answered 2 years ago
Hello,
Thank you for your question.
SQL Server Developer Edition Compatibility: We understand your desire to use SQL Server Developer Edition on Amazon Linux 2023. However, as you've noted, this configuration is not officially supported by Microsoft. Their documentation primarily recommends Red Hat Enterprise Linux (RHEL) or Ubuntu for Linux installations.
Instance Type Adequacy: We concur that the t2.medium instance type should be sufficient for SQL Server Developer Edition, as it meets the minimum RAM requirements. Your choice here is appropriate.
Installation Process: We've observed that the installation steps you followed are designed for Red Hat Enterprise Linux 8. This may indeed lead to compatibility issues with Amazon Linux 2023, potentially explaining the difficulties you're experiencing.
Service Start-up Issues: The absence of an errorlog file in /var/opt/mssql/log is concerning and suggests that the SQL Server service is unable to initialize properly.
Relevant content
asked 2 years ago
