반응형 [AWS]/Highly Available, Scalable, AWS Stack35 5. Deploy app on an EC2 instance ## run these after you SSH into the server # clone the app git clone https://savitras@bitbucket.org/savitras/aws-course-php-app.git # change to app folder cd aws-course-php-app/ # install app dependencies sh apt-get.sh # install composer curl -sS https://getcomposer.org/installer | php # install AWS SDK php composer.phar install # deploy php pages to apache document root sudo cp *.php /var/www/h.. 2022. 1. 17. 4. Prerequisites: Launch an EC2 instance # copy private key from downloads folder to working directory cp Downloads/your-private-key.pem . # secure private key chmod 400 your-private-key.pem # remove private key from Downloads folder rm Downloads/your-private-key.pem # SSH into server ssh -i your-private-key.pem ubuntu@ec2-public-ip Connect to your Linux instance from Windows using PuTTY https://docs.aws.amazon.com/AWSEC2/latest/UserGu.. 2022. 1. 17. 3. Intro : Deploy application 2022. 1. 17. 2. AWS Account, Free Tier and Costs 2022. 1. 16. 1. Intro: Course 2022. 1. 16. 이전 1 2 다음 반응형