- Mais recentes
- Mais votos
- Mais comentários
Hello.
You cannot directly upgrade from Amazon Linux1 to Amazon Linux2023, so you need to install middleware etc. on Amazon Linux2023.
https://docs.aws.amazon.com/ja_jp/linux/al2023/ug/compare-with-al1.html
I think it is easier to upload the program code such as PHP to Amazon Linux 2023 as it is or pull it from GitHub etc. than to mount the EBS volume of Amazon Linux 1 on Amazon Linux 2023.
Therefore, please install middleware such as PHP and web server on Amazon Linux 2023, deploy the application that was running on Amazon Linux 1, and then check the operation.
It is possible to install and use a database on EC2.
I have also installed a database on EC2 when running an application that I have been using for a long time.
Also, I think it's a good idea to use the Session Manager's port forwarding function to connect to the database from your local PC.
https://aws.amazon.com/jp/blogs/mt/use-port-forwarding-in-aws-systems-manager-session-manager-to-connect-to-remote-hosts/
Thank you very much for your response, which I do appreciate. As may be obvious, my php version (5.6) will (probably) not work on AL2023. My php code is not on github, so I either need to copy the code to my laptop - and copy it to the new instance, or perhaps create a temporary volume, attach it to the old EC2 instance, and use it as a source for the AL2023 instance (messy!).
Similarly, I have an old version of Wordpress, so it looks like the "migration" to AL2023 will be very manual.
I have yet to discover what issues lie in wait migrating from php 5.6 to 8.2. I am not looking forward to this.
I am happy to hear about your experience with MySql.
Thanks again.
Given the potential complexity of migrating from php 5.6 to 8.2 (supported by AL2023) if I migrated to AL2023, I wonder if it is not worth it to consider leaving my AL1 EC2 instance as is, and installing MySql on it. This would mean I don't have to worry about upgrading php and also Wordpress.
Of course, it would be dependent on AWS allowing AL1 EC2 instances into the future.
Does this option sound stupid?
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos