...

/

Getting Started: Setting Up WordPress

Getting Started: Setting Up WordPress

Set up a WordPress instance, log in via SSH, and get the admin credentials.

In this lesson, we’ll set up the WordPress instance we’ll work with in this chapter.

Creating a WordPress instance

Let’s first create a simple WordPress instance that we can log in to via SSH.

Press + to interact
aws ec2 run-instances \
--image-id resolve:ssm:/aws/service/marketplace/prod-tdzx6newyhgcc/5.9.3-16-r08-on-debian-10 \
--instance-type t2.micro \
--tag-specifications 'ResourceType=instance,Tags=[{Key=team,Value=wordpress}]' 'ResourceType=volume,Tags=[{Key=team,Value=wordpress}]' \
--security-group-ids 'ssh-access' 'https-access' \
--key-name 'hello-wordpress'

This will start a WordPress instance based on the AWS Marketplace WordPress image from Bitnami (specified through the --image-id using an alias). The instance type will be t2.micro. We add some tags through --tag-specifications for both the instance and all volumes ...

Access this course and 1400+ top-rated courses and projects.