![]() MY_SUBNET_ID=$(aws ec2 describe-instances -instance-id $MY_INSTANCE_ID -query '' -output text) # Get the ID of the subnet associated with the instance, and store it temporarily. MY_SECURITY_GROUP_ID=$(aws ec2 describe-instances -instance-id $MY_INSTANCE_ID -query '' -output text) # Get the ID of the security group associated with the instance, and store it temporarily.Īws ec2 authorize-security-group-ingress -group-id $MY_SECURITY_GROUP_ID -protocol tcp -cidr 0.0.0.0/0 -port 80 # Add an inbound rule to the security group to allow all incoming IPv4-based traffic over port 80.Īws ec2 authorize-security-group-ingress -group-id $MY_SECURITY_GROUP_ID -ip-permissions IpProtocol=tcp,Ipv6Ranges='',FromPort=80,ToPort=80 # Delete the existing inbound rule from the security group to block all incoming IPv6-based traffic over port 80. MY_INSTANCE_ID=$(curl ) # Get the ID of the instance for the environment, and store it temporarily. The promptĬhanges to mysql> while you are in the MySQL command line Root user's password that you set earlier, and then press Enter. Line client as the root user by running the following command. To interact directly with MySQL, start the MySQL command Make sure that you store the password in aĭo you wish to continue with the password Re-enter new password – Enter the passwordĪgain, and then press Enter. ![]() ![]() New password – Enter a password, and then There are three levels of password validation Would you like to set up VALIDATE PASSWORD plugin
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |