I have launched an EC2 linux instance (a rightscale CentOS v 5.2 i386 image) and want have followed a tutorial ( http://www.ardentsoft.com/blog/2009/3/4/lamp-on-ec2-part-6-configuring-apache.html ) for configuring PHP and Apache. Now I need to know how to get my PHP files from my dedicated server up to the cloud. I usually use dreamweaver to edit and FTP files to my dedicated server so if I could carry on using that it would be preferable. I have used Putty to login to my instance and have found some tutorials about SSH tunneling with dreamweaver but don't fully understand this.
Once I have done this, I want to know how I can package this server image with all my PHP code and have it ready to go at a moments notice, is this bundling? Can i bundle my configured running image as a new image that I can launch and have ready to go?
Many thanks
Yes, this is bundling. You can either use the AWS Manager provided by Amazon or ElasticFox . Both will do what you need.
Your basic steps are:
You can use dreamweaver to connect to it as well with an ftp connection.
Install vsftpd: http://www.synergycode.com/knowledgebase/blog/item/ftp-server-on-amazon-ec2
Then just connect using an active connection and point to /var/www/html/ with the user as root and the password you have set.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.