แสดงบทความที่มีป้ายกำกับ AWS EC2 แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ AWS EC2 แสดงบทความทั้งหมด

วันอังคารที่ 25 กุมภาพันธ์ พ.ศ. 2557

Amazon EC2 Windows Activate problem

Today my Windows Server on EC 2 ask me to activate but it failed when activate online.
After some research I found this can help.

1. go to C:\Program Files\Amazon\Ec2ConfigService\Settings\config.xml  to change setting Ec2WindowsActivate to Enabled
2. go to service and restart service "Ec2Config"

now problem is gone.

วันเสาร์ที่ 29 มิถุนายน พ.ศ. 2556

Create Private VPN with OpenVPN and Windows AZure (Ubuntu) or AWS EC 2 (Ubuntu)

(This Begin part for Azure or AWS EC2 is same the different is between connect with putty)
Azure use Username and password.
AWS EC2 need private key to connected.

After first part start your server is same on both 

Check version Ubuntu for 32 bit or 64 bit
uname -a

Download OpenVPN (Depend on your system is 32 or 64 bit u can check last software version at openvpn.org)
wget -c http://swupdate.openvpn.org/as/openvpn-as-1.8.5-Ubuntu12.amd_64.deb

Install OpenVPN
sudo dpkg -i openvpn-as-1.8.5-Ubuntu12.amd_64.deb

Change openvpn password for safety
sudo passwd openvpn


Command Add User
sudo adduser [username]

Command Update & Upgrade Ubuntu
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade