I was given a project that was running on Amazon linux AMI, now I need to transfer project to Ubuntu server.
I am more familiar with UBUNTU.
I was wondering what would be the difference? Will the project work perfectly on Ubuntu?
Thank you.
We can conclude that Ubuntu is a general-purpose operating system suited for learning and research purposes due to its user-friendly interface. While Amazon Linux is designed especially for AWS-related work, and it also comes pre-installed with Amazon web tools.
Ubuntu is popular because of its robust user interface; you can easily work with Ubuntu from desktop or from the command line. Ubuntu is a favorite platform for Linux stacks; AWS has hundreds of application stacks and application servers based on Ubuntu.
Amazon Linux has traditionally been built around CentOS. With the transition from its standard release cycle to CentOS Stream, Amazon has decided transition to using Fedora as the base for Amazon Linux 2022, with the kernel from the Linux LTS versions.
We recommend ec2-user. Configure a running instance from your final AMI to the end-user experience you want, and test all installation methods, features, and performance before submission to AWS Marketplace.
Amazon Linux AMI is a red hat based distro so things like the package installer or the tools for service manage are different, and another thing you need to consider is the way of bootstraping, amazon instances are more flexible to do some things in cloudformation in the ubuntu way the best form to do it is with cloudinit https://help.ubuntu.com/community/CloudInit, you need to consider the packages too are multiple packages that not are native supported by Amazon Linux.
Amazon Linux AMI based on CentOS 6.x, whereas Amazon Linux 2 is CentOS 7.x,
So instead of apt
you would use yum
,
and instead of /usr/local/bin/composer
you'll have to use /usr/bin/composer
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With