Configure wordpress on ec2 instances using RDS service

aws ec2 run-instances --image-id  ami-0be2609ba883822ec --instance-type t2.micro --count 1 --subnet-id subnet-b64fced0 --security-group-ids  sg-d51499e1 --key-name N.verginea_key_pair --tag-specifications ResourceType="instance",Tags=[{key="Name",value="MyOS"}]
yum install httpd -y
amazon-linux-extras install php7.4
curl https://wordpress.org/latest.tar.gz --output wordpress.tar.gz
tar xf wordpress.tar.gz
cp -rf wordpress /var/www/html

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store