Overview

Product video
This is a repackaged open source software wherein additional charges apply for extended support with a 24 hour response time.
PostgreSQL on Ubuntu 24.04 LTS offers a robust and scalable relational database management system designed for reliability and performance. This AMI provides a comprehensive environment optimized for deploying PostgreSQL databases in the cloud, allowing you to harness the power of open-source database technologies on a highly stable and secure Ubuntu 24.04 operating system.
Ubuntu 24.04 Key Features
- Latest PostgreSQL Version: Utilizes the most current stable release of PostgreSQL, ensuring access to the latest features and improvements.
- Ubuntu 24.04 LTS: Based on the long-term support version of Ubuntu, this AMI guarantees security updates and reliability for an extended period.
- Easy Deployment: Simplifies the process of setting up a PostgreSQL instance in the Ubuntu 24.04 AWS EC2 environment with pre-configured settings for quick launch.
- Scalability: Supports scaling out to meet growing data needs, making it suitable for both small applications and large-scale, enterprise-level databases.
- Security: Incorporates best practices for security configurations, ensuring that your data is protected against unauthorized access.
Ubuntu 24.04 Benefits
- Cost-Effective: Leverage a powerful open-source database without the high licensing costs associated with commercial alternatives.
- Performance Optimization: Pre-tuned for optimal performance on AWS Ubuntu 24.04 infrastructure, delivering fast response times for client queries.
- Flexible Backup and Recovery Options: Utilize various backup strategies, from point-in-time recovery to simple hot backups, enhancing data resilience.
- Active Community Support: Benefit from the vast support community of PostgreSQL, alongside access to extended support options for mission-critical applications.
Ubuntu 24.04 Use Cases
- Web Applications: Ideal for data-driven web applications requiring robust, reliable database management.
- Data Warehousing: Use PostgreSQL to build efficient data warehouses that integrate with various ETL processes.
- IoT Solutions: Manage large volumes of sensor or telemetry data from Internet of Things (IoT) devices with PostgreSQL's advanced data handling capabilities.
- Business Intelligence: Analyze and report on data with powerful SQL capabilities, making it suited for BI applications.
Deploy PostgreSQL on Ubuntu 24.04 LTS in your AWS environment today and empower your applications with a high-performing, open-source database solution.
Try our most popular AMIs on AWS EC2
- Ubuntu 24.04 AMI on AWS EC2
- Ubuntu 22.04 AMI on AWS EC2
- Ubuntu 20.04 AMI on AWS EC2
- Ubuntu 18.04 AMI on AWS EC2
- CentOS 10 AMI on AWS EC2
- CentOS 9 AMI on AWS EC2
- CentOS 8 AMI on AWS EC2
- Debian 12 AMI on AWS EC2
- Debian 11 AMI on AWS EC2
- Debian 10 AMI on AWS EC2
- Debian 9 AMI on AWS EC2
- Red Hat Enterprise Linux 9 (RHEL 9) AMI on AWS EC2
- Red Hat Enterprise Linux 8 (RHEL 8) AMI on AWS EC2
- Red Hat Enterprise Linux 7 (RHEL 7) AMI on AWS EC2
- Oracle Linux 9 AMI on AWS EC2
- Oracle Linux 8 AMI on AWS EC2
- Oracle Linux 7 AMI on AWS EC2
- Amazon Linux 2023 AMI on AWS EC2
- Windows 2022 Server AMI on AWS EC2
- Windows 2019 Server AMI on AWS EC2
- Docker on Ubuntu 22 AMI on AWS EC2
- Docker on CentOS 10 AMI on AWS EC2
Highlights
- Experience the powerful combination of PostgreSQL and Ubuntu 24.04 LTS, offering a robust open-source relational database management system. This AMI is optimized for performance, delivering exceptional query speeds and reliability for handling large datasets. Benefit from a vast array of advanced features, including support for JSONB, full-text search, and custom data types, empowering data-driven applications and analytics.
- Deploying PostgreSQL on Ubuntu 24.04 LTS in the AWS EC2 cloud ensures high availability and seamless scalability. The AMI includes automated configuration options, allowing you to get your database up and running quickly with minimal overhead. Leverage Amazon's infrastructure to handle traffic spikes and maintain performance without manual intervention, making it ideal for startups and enterprises alike.
- With strong community support and comprehensive documentation, PostgreSQL on Ubuntu 24.04 LTS is well-suited for developers and system administrators. Utilize it for web applications, data warehousing, or transcoding complex queries across distributed systems. Leverage its extensibility and integration capabilities with various programming languages and frameworks, ensuring your database solutions align perfectly with your cloud architecture.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Buyer guide

Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t2.xlarge Recommended | $0.28 |
t3.micro | $0.07 |
t2.micro | $0.21 |
c3.8xlarge | $2.24 |
r7iz.2xlarge | $0.56 |
x2idn.16xlarge | $4.48 |
m6id.metal | $3.36 |
m3.medium | $0.14 |
c6i.2xlarge | $0.56 |
c5ad.12xlarge | $3.36 |
Vendor refund policy
The instance can be terminated at anytime to stop incurring charges
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
System updates
Additional details
Usage instructions
SSH to the instance and login as 'ubuntu' using the key specified at launch.
OS commands via SSH: SSH as user 'ubuntu' to the running instance and use sudo to run commands requiring root access.
Verify postgresql install version by running: sudo -u postgres psql -c "SELECT version();"
Resources
Vendor resources
Support
Vendor support
Email support for this AMI is available through the following: https://supportedimages.com/support/ OR support@supportedimages.com
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Standard contract
Customer reviews
Using clear documentation has simplified setup and has accelerated our test environment
What is our primary use case?
My main use case for PostgreSQL on Ubuntu is that we were looking for a Linux environment and that's how Ubuntu became our choice.
What is most valuable?
The best features PostgreSQL on Ubuntu offers, based on my experience, were the documentation and ease of use. The Ubuntu documentation made it easier to use and install.
PostgreSQL on Ubuntu positively impacted my organization by speeding up the test environment at the time. It sped up my test environment by being faster to set up and to maintain.
What needs improvement?
I don't remember how PostgreSQL on Ubuntu can be improved as it was too long ago. I'm not aware of any improvements needed for PostgreSQL on Ubuntu that I haven't mentioned.
For how long have I used the solution?
I've been using PostgreSQL on Ubuntu for maybe one or two years.
What do I think about the stability of the solution?
It worked well regarding my experience with PostgreSQL on Ubuntu. It was easy to use and well documented, which is what I appreciated.
What do I think about the scalability of the solution?
There were no scalability issues, especially because we did not test the performance or integration features of PostgreSQL on Ubuntu.
What other advice do I have?
I don't have any advice regarding PostgreSQL on Ubuntu because I don't use it and don't have an opinion. I don't have any additional thoughts about PostgreSQL on Ubuntu to share. My review rating for this product is 8.
Which deployment model are you using for this solution?
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
On-premises data has become secure and cached while analytics gain real-time responsiveness
What is our primary use case?
My main use case for PostgreSQL on Ubuntu is to store data, especially telemetry data and customer data. I had a client whose telemetry data was coming online on one of their on-premises devices. I proposed spinning off an instance of PostgreSQL on Ubuntu on one of the incidents and used it to store on-premises data. The main objective was to keep the data on-premises for that particular device and that particular infrastructure. This helped me to keep the data on-premises rather than on cloud.
We also proposed PostgreSQL on Ubuntu on our onsite databases as well. It helped us to analyze our data in near-real-time, which was a very good use case.
What is most valuable?
PostgreSQL on Ubuntu offers data caching, on-premises data storage, data security, and I can write, store, and analyze data on the PostgreSQL on Ubuntu instance. That is really helpful for me.
I rely on on-premises and data caching the most because data caching helps to reduce the latency for any systems I develop. On-premises makes data security and data privacy its utmost goal, and both of them are maintained.
PostgreSQL on Ubuntu has definitely impacted my organization to analyze their data. Some of the clients for my particular organizations are preferring on-premises data storage. PostgreSQL on Ubuntu gives me the ability to help them keep their data on-premises, but at the same time, I can go onto their jump host to their servers and analyze their data. That is really helpful.
Data caching, particularly PostgreSQL on Ubuntu data caching, helped to reduce our average latency. When I was making a few data analytics, I got to know that PostgreSQL caching helped me to save five milliseconds of latency on every call, which is a lot for user experience as well as productivity. That is very helpful.
What needs improvement?
PostgreSQL on Ubuntu can be improved by adding more diverse components and ad hoc features like data analysis and data analysis models on-premises. For example, creating Jupyter notebooks or analyzing data directly on PostgreSQL would be a much nicer use case rather than just having a simple database. Adding capabilities of AI as well as RAG as well as MCT would really help PostgreSQL on Ubuntu nowadays.
PostgreSQL on Ubuntu's accuracy and reliability of output is pretty naive from my perspective. It should be more controlling and more customizable.
For how long have I used the solution?
I have been using PostgreSQL on Ubuntu for five years.
What do I think about the stability of the solution?
PostgreSQL on Ubuntu is stable in my experience.
What do I think about the scalability of the solution?
I would rate PostgreSQL on Ubuntu's scalability a ten out of ten as I find it very amazing. It can be easily scalable with Docker and Kubernetes .
How are customer service and support?
I think the customer support for PostgreSQL on Ubuntu is very nice. I really didn't have to go with customer support at any time, but I think it would be nice.
Which solution did I use previously and why did I switch?
I didn't use any other solution before PostgreSQL on Ubuntu. I just used PostgreSQL on Ubuntu.
How was the initial setup?
The pricing was pretty decent for PostgreSQL on Ubuntu. I really appreciated it.
What was our ROI?
I would say money saved and time saved are the most viable buy-ins to use PostgreSQL on Ubuntu because it really helped me to drill down the cost of employees as less workforce is needed.
Which other solutions did I evaluate?
We evaluated Oracle DB, but while Oracle DB is good, at the same time, it is pretty naive compared to PostgreSQL on Ubuntu.
What other advice do I have?
I would rate PostgreSQL on Ubuntu an eight out of ten. The pace of development is very high. Adding these new features like data science models, semantic models, as well as AI capability would be really better if it were on PostgreSQL on Ubuntu.
PostgreSQL on Ubuntu's governance and security is really nice. I love the governance and security that PostgreSQL provides. That is my best buy-in for PostgreSQL on Ubuntu.
If you are really looking into some data management systems that are much more lightweight as well as capable and higher in performance, you should definitely go with PostgreSQL on Ubuntu. I gave this review a rating of eight out of ten.
Reliable open source database has supported cloud workloads and reduced training costs
What is our primary use case?
We have an application that uses PostgreSQL on Ubuntu that we sell to end customers, and we run the entire environment on Ubuntu . We have a dedicated Ubuntu machine running PostgreSQL and storing all the data there.
This environment, which includes PostgreSQL on Ubuntu, was set up in the cloud. We have one machine for the application and another dedicated one for the database, which in this case is PostgreSQL . We have all the backup routines for this database. It connects to the database, performs the entire backup, and that is our standard process.
What is most valuable?
PostgreSQL on Ubuntu, because it is widely used and open source, has great acceptance in educational environments, including universities and technical courses. Programmers and developers are already accustomed to using PostgreSQL, running queries, and interacting with it. Even junior developers and interns who are joining the development team have already had contact with PostgreSQL, so the learning curve for the team is relatively very fast. They already come in with excellent background knowledge, and we don't have major difficulties finding developers who have already worked with PostgreSQL.
The main points about PostgreSQL on Ubuntu are that it is open source, allows flexibility, has great adoption with a very large market share, includes many features natively, provides frequent updates, and delivers the reliability we need for our applications. Every time we have performed upgrades, we have never had any problems.
What needs improvement?
For how long have I used the solution?
What do I think about the stability of the solution?
What do I think about the scalability of the solution?
How are customer service and support?
Which solution did I use previously and why did I switch?
How was the initial setup?
What was our ROI?
What's my experience with pricing, setup cost, and licensing?
Which other solutions did I evaluate?
What other advice do I have?
My advice for others who are considering using PostgreSQL on Ubuntu is that if your application is relational, that is, if you need a relational database, PostgreSQL will definitely be my first recommendation. I would rate this solution a perfect ten out of ten.
Which deployment model are you using for this solution?
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Real-time data updates have improved chat logs and support large aligned data workflows
What is our primary use case?
My main use case for PostgreSQL on Ubuntu is to work with the database, so all the fields should be aligned. When we scale the projects, it helps us to do better compared to other software. PostgreSQL on Ubuntu is commonly used for handling large databases and large data fields in an aligned format.
What is most valuable?
In my opinion, the best feature that PostgreSQL on Ubuntu offers is real-time updates. The real-time update feature helps me in my work for chat logs, where we need to update in real-time so multiple users can enter, similar to a group chat. We have to use WebSocket to understand who comes first, and PostgreSQL on Ubuntu keeps things simple and straightforward.
PostgreSQL on Ubuntu positively impacts my organization by helping us to scale the budget. The main feature I would like to add is that security is paramount.
What needs improvement?
I chose a nine out of ten for PostgreSQL on Ubuntu because everything is good, but I need it to be easier to understand and learn. The initial stage is a bit tough, and we do not have adequate sources to learn from.
Regarding PostgreSQL on Ubuntu's AI capabilities, I think the accuracy and reliability of output are not fine, as we need more inputs and to train the modules with additional inputs. We need improvements for PostgreSQL on Ubuntu in AI capabilities.
For how long have I used the solution?
I have been using PostgreSQL on Ubuntu for the last two years.
What do I think about the stability of the solution?
So far, I do not have any challenges with PostgreSQL on Ubuntu, but the system is available all the time, which I appreciate. PostgreSQL on Ubuntu is stable in my experience, as I see growth in the application and time saved.
What do I think about the scalability of the solution?
I rate the scalability of PostgreSQL on Ubuntu high, as it is the main feature in PostgreSQL .
How are customer service and support?
The customer support for PostgreSQL on Ubuntu looks good. They respond twenty-four hours a day, seven days a week, and we can reach out to them at any time and get solutions within a few hours.
Which solution did I use previously and why did I switch?
Previously, I used MongoDB, a NoSQL database, but afterward, I switched to PostgreSQL on Ubuntu as I see more security in PostgreSQL , and it helps us to handle large-scale applications. I did not evaluate other options before choosing PostgreSQL on Ubuntu. I directly transitioned to PostgreSQL on Ubuntu after MongoDB.
How was the initial setup?
My experience with pricing, setup cost, and licensing for PostgreSQL on Ubuntu is that everything is good.
What about the implementation team?
I purchased PostgreSQL on Ubuntu through the AWS Marketplace .
What was our ROI?
Absolutely, I have seen a return on investment as PostgreSQL on Ubuntu helps us save time, and for performance, we see massive changes with around forty percent to eighty percent improvement.
What's my experience with pricing, setup cost, and licensing?
My experience with pricing, setup cost, and licensing for PostgreSQL on Ubuntu is that everything is good.
Which other solutions did I evaluate?
I did not evaluate other options before choosing PostgreSQL on Ubuntu. I directly transitioned to PostgreSQL on Ubuntu after MongoDB.
What other advice do I have?
Everything is good with PostgreSQL on Ubuntu, so I have no additional improvements to mention. Everything is fine with PostgreSQL on Ubuntu, and I have shared everything I have from my last two years of experience. I suggest PostgreSQL on Ubuntu to people with a use case for scalability. I rate PostgreSQL on Ubuntu around a nine on a scale of one to ten.
Which deployment model are you using for this solution?
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Automated financial data workflows have reduced manual entry and support accurate auditing
What is our primary use case?
The primary use case for PostgreSQL on Ubuntu is storing and managing structured financial data extracted from scanned documents through our AI pipeline. When we processed an invoice or a trial balance through our OCR and LLM system, PostgreSQL on Ubuntu became the persistent layer where all that extracted data lived, including account codes, amounts, dates, and confidence scores from all the models. The FastAPI backend would query PostgreSQL to retrieve those records, and chartered accountants would use them in the system to validate and map those extracted line items. If someone needed to trace where a particular account entry came from, PostgreSQL had the complete audit trail and raw extracted data ready to query.
PostgreSQL on Ubuntu integrated seamlessly with the rest of our stack. We used it alongside n8n automation workflows running on Docker , and those n8n instances would write processed data directly into PostgreSQL tables. The database became their central hub where financial data flowed through multiple stages of the pipeline, from initial extraction through LLM classification, through trial balance mapping, all the way to final storage. We also leveraged PostgreSQL on Ubuntu’s JSONB columns quite extensively since our LLM outputs were semi-structured JSON. Being able to store those flexible JSON objects directly in the database without needing a separate document store was invaluable. It simplified our architecture and made querying and data retrieval much more straightforward when we needed to filter or aggregate results for reporting.
PostgreSQL on Ubuntu is deployed on-premises on Hostinger in our organization.
What is most valuable?
The standout features PostgreSQL on Ubuntu offers were three things. First, JSONB support was huge. Since our LLM pipeline generated semi-structured JSON outputs with extracted fields and confidence scores, being able to store and query that JSON directly in PostgreSQL on Ubuntu without needing a separate document store was a massive win. It simplified our entire architecture. Second was reliability and stability on Ubuntu . We ran PostgreSQL on Ubuntu on a Linux server in production and it was rock solid. We never had unexpected crashes or data integrity issues, even under heavy batch processing loads. The backup tooling with pg_dump also integrated seamlessly into our automated workflows, so we had confidence our data was always safe. Third, indexing and query performance was excellent. When the FastAPI backend needed to retrieve specific financial records or filter by account codes for our trial balance mapping system, queries stayed fast and consistent even as the dataset grew. That performance directly translated to a snappier experience for the chartered accountants using the system, which mattered significantly.
The impact of PostgreSQL on Ubuntu was tangible for our organization. On the reliability front, once we had PostgreSQL on Ubuntu as our structured data layer, we eliminated a lot of manual data validation work. Before that, extracted financial data had nowhere consistent to land, so it was error-prone. With PostgreSQL on Ubuntu in place, we had a clean, queryable store that made validation straightforward. On the metrics side, the full automation pipeline, which PostgreSQL on Ubuntu was central to, achieved a 70% reduction in manual data entry effort for our chartered accountant clients. Instead of manually re-entering invoice or trial balance data, the system extracted it, stored it cleanly in PostgreSQL on Ubuntu, and made it immediately available for review and mapping. That was a massive productivity gain. On cost, we also saw benefits from not needing separate document stores or complex caching layers. PostgreSQL on Ubuntu handled both structured data storage and semi-structured JSON in one place, which simplified our infrastructure and reduced operational overhead. The reliability also meant fewer debugging cycles and data recovery incidents, which translated to less engineering time spent on firefighting and more time on feature extraction.
The way I measured that 70% reduction in manual data entry was straightforward. We tracked the time chartered accountants spent manually entering financial data before and after our full automation pipeline went live. We examined a sample of their typical workflows, such as processing and trial balancing or a set of invoices, and compared how long it took them to do that work manually versus using our system end-to-end. The 70% figure came from that comparison. The system handled extraction, classification, and mapping automatically, so they only needed to do light validation rather than full manual data entry. It was not a rigorous academic study with control groups.
What needs improvement?
Several things come to mind for improvements in PostgreSQL on Ubuntu. First, the monitoring and observability experience on Ubuntu could be smoother. Setting up proper visibility into query performance, slow query logs, and connection pool statistics requires additional tools such as pg_stat_statements or external monitoring solutions. It would be helpful if PostgreSQL on Ubuntu shipped with slightly more user-friendly native dashboards built-in, especially for developers who are not dedicated database administrators. Second, native vector similarity search would be valuable. We were doing semantic document retrieval as part of our pipeline, so we ended up using Pinecone as a separate vector database alongside PostgreSQL on Ubuntu rather than keeping everything in one system. PostgreSQL on Ubuntu has some emerging vector capabilities, but if native vector similarity search were more mature and performant out of the box, it would allow consolidating the architecture and reducing operational complexity. Additionally, full-text search, while functional, required extra configuration for our financial document use case. Having more intuitive defaults for that would lower the barrier to entry for search-heavy applications.
For how long have I used the solution?
I used PostgreSQL on Ubuntu throughout my time at Radiant Services, approximately one and a half years of hands-on production experience.
What do I think about the stability of the solution?
PostgreSQL on Ubuntu is stable.
How are customer service and support?
The customer support for PostgreSQL on Ubuntu is quite responsive. When I needed help with my vector search, I contacted them, and they provided substantial assistance.
What other advice do I have?
On the integration side, PostgreSQL on Ubuntu played well with our broader tech stack. The async driver we used, asyncpg, integrated smoothly with FastAPI, so our backend could handle concurrent requests efficiently without blocking on database calls. That was important when we were processing multiple documents in parallel. On extensions, we did not lean heavily into custom PostgreSQL on Ubuntu extensions, but the fact that they are available and well-maintained is reassuring for future use cases. On security, the role-based access control and pg_hba.conf gave us fine-grained control over who could access what, which was critical when handling sensitive financial data for chartered accountants. We could lock down access per application user and audit everything. PostgreSQL on Ubuntu’s strong ACID compliance meant we could trust data consistency, which is non-negotiable when dealing with financial records where accuracy is essential.
I give PostgreSQL on Ubuntu a rating of 8 out of 10. I chose this rating because there are improvements needed, such as native vector similarity search and smoother monitoring and observability experience on Ubuntu, particularly for developers who are not dedicated database administrators.
My advice to others looking into using PostgreSQL on Ubuntu would focus on connection pooling documentation and tooling, which is quite good. If you are building an AI or LLM-based application that produces structured or semi-structured data, which is increasingly common, PostgreSQL on Ubuntu is a genuinely strong choice. It is production-grade, battle-tested, and it handled our financial document processing workloads extremely well. My advice would be to use JSONB columns early if your outputs are schema-flexible, set up connection pooling with pgBouncer from day one, and if you need semantic search, combine PostgreSQL on Ubuntu with a vector database such as Pinecone rather than trying to consolidate everything into one system.
Also, automate your backups with pg_dump as part of your CI/CD setup from the start. Overall, PostgreSQL on Ubuntu is very good, and I am genuinely impressed with how reliable and performant it was in our production environment. It scaled well for our use case. As our document volume grew over time, PostgreSQL on Ubuntu handled increased load without requiring major architectural changes. Proper indexing and query optimization kept performance consistent, and the fact that it runs efficiently on Ubuntu meant we could scale vertically by adjusting server resources without changing much in our application layer. For teams expecting data growth, which is almost inevitable in AI-driven document processing, PostgreSQL on Ubuntu is an excellent choice.