For a start, creating an instance is getting a machine for use. Going through the creation of a new instance (with the classic instance):
- you need to choose a AMI (Amazon Machine Image). Basically it's a choice of operating system you need. In my case, I choose Amazon's Linux AMI (it's based off CentOS anyways).
- choose the instance type. I'm a cheapo trying out the free tier - so it's a Micro instance for me. I have no preference for the availability zone.
- I'll just have the default Kernel ID and RAM Disk ID. Tags (Key and Value) for the instance I'll just leave it blank for now.
- Creating key pair if you don't have any that you want to use. It's important to (download and) keep the private key, as you will need it later on.
- Configure security group. It's about the firewall policy for the machine. As I want just the Apache server service to be facing the internet, I'll just create a new security group and then add the Rule for SSH and HTTP. I'll just leave the source as it is for now (0.0.0.0/0)
- Launch!
Other notes:
By default the public DNS for your instance is something like: ec2-somenumbers.ap-southeast-1.compute.amazonaws.com. If you prefer a nice public IP, you can get the Elastic IP:
- Allocate a new address
- then associate the address with your instance
Note that you will need to pay if the address you obtained is not associated with any instance.
The Route 53 service is for more complicated use case. :)
Connecting to the instance when you got a Windows computer:
- Grab the PuTTY and PuTTYgen software
- PuTTYgen is needed cos you need to convert your private key (myprivatekey.pem) to a format which PuTTY can use
- PuTTY to connect to your instance thru SSH
- You can use Filezilla to connect (and upload files) to your instance. Need to add keyfile thru Edit > Settings > Connection > FTP > SFTP
To update the system and install the Apache and php:
sudo yum update
sudo yum update
sudo yum install httpd php
The root folder for the website is in /var/www/html . You should be able to see a sample landing page at your instance's public DNS address.
Check out CentOS documentation/guides if you wanna do anything else which you are unsure of.
Persistent Storage:
Creating the instance (with Amazon's Linux AMI) would also create a 8GiB volume in the Elastic Block Store (EBS). This volume would be GONE if you terminate the instance. If you want something a more permanent store (other than S3), you can:
- Create new volume
- Attach the new volume to your running instance, which it will appear as /dev/sdX in the instance
- which then i would use fdisk to create partition, mkfs for the filesystem, then mount it.
- Edit /etc/fstab if you want the partition to be auto-mounted on start.
For the free tier, you have 30GiB of EBS to play around.
ElasticFox is pretty cool extension for Firefox. You need the credentials in order to access your aws panel. Citation: http://manavg.wordpress.com/2010/12/27/amazon-ec2-and-elasticfox/
That's it for now I guess.
Truly a very good article on future technology. Thanks for discussing this, I love to learn more about this topic.
ReplyDeleteAWS Training in Chennai
AWS Certification in Chennai
Cloud Training in Chennai
Cloud Computing Courses in Chennai
Azure Training in Chennai
Microsoft Azure Training in Chennai
DevOps course in Chennai
Cloud Computing Courses in Chennai
Great Article Cloud Computing Projects
ReplyDeleteNetworking Projects
Final Year Projects for CSE
JavaScript Training in Chennai
JavaScript Training in Chennai
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
no deposit bonus forex 2021 - takipçi satın al - takipçi satın al - takipçi satın al - tiktok takipçi satın al - instagram beğeni satın al - instagram beğeni satın al - google haritalara yer ekleme - btcturk güvenilir mi - izlenme-satin-al.com - numarasmsonay.com - borsagazete.com - takipcisatinals.com - izlenme-satin-al.com/youtube - google haritalara yer ekleme - altyapısız internet - mikrofiber havlu - forexbonus2020.com - tiktok jeton hilesi - tiktok beğeni satın al - microsoft word ücretsiz indir - misli apk indir - binance güvenilir mi - takipçi satın al - mikrofiber havlu - uc satın al - takipçi satın al - takipçi satın al - finanspedia.com
ReplyDeleteinstagram takipçi satın al
ReplyDeleteinstagram takipçi satın al
takipçi satın al
instagram takipçi satın al
instagram takipçi satın al
takipçi satın al
instagram takipçi satın al
aşk kitapları
tiktok takipçi satın al
instagram beğeni satın al
youtube abone satın al
twitter takipçi satın al
tiktok beğeni satın al
tiktok izlenme satın al
twitter takipçi satın al
tiktok takipçi satın al
youtube abone satın al
tiktok beğeni satın al
instagram beğeni satın al
trend topic satın al
trend topic satın al
youtube abone satın al
beğeni satın al
tiktok izlenme satın al
sms onay
youtube izlenme satın al
tiktok beğeni satın al
sms onay
sms onay
perde modelleri
instagram takipçi satın al
takipçi satın al
tiktok jeton hilesi
pubg uc satın al
sultanbet
marsbahis
betboo
betboo
betboo
instagram takipçi satın al
ReplyDeleteucuz takipçi
takipçi satın al
https://takipcikenti.com
https://ucsatinal.org
instagram takipçi satın al
https://perdemodelleri.org
https://yazanadam.com
instagram takipçi satın al
balon perdeler
petek üstü perde
mutfak tül modelleri
kısa perde modelleri
fon perde modelleri
tül perde modelleri
https://atakanmedya.com
https://fatihmedya.com
https://smmpaketleri.com
https://takipcialdim.com
https://yazanadam.com
yasaklı sitelere giriş
aşk kitapları
yabancı şarkılar
sigorta sorgula
https://cozumlec.com
word indir ücretsiz
tiktok jeton hilesi
rastgele görüntülü sohbet
erkek spor ayakkabı
fitness moves
gym workouts
https://marsbahiscasino.org
http://4mcafee.com
http://paydayloansonlineare.com
ucuz takipçi
ReplyDeleteucuz takipçi
tiktok izlenme satın al
binance güvenilir mi
okex güvenilir mi
paribu güvenilir mi
bitexen güvenilir mi
coinbase güvenilir mi
instagram takipçi satın al
seo fiyatları
ReplyDeletesaç ekimi
dedektör
instagram takipçi satın al
ankara evden eve nakliyat
fantezi iç giyim
sosyal medya yönetimi
mobil ödeme bozdurma
kripto para nasıl alınır
bitcoin nasıl alınır
ReplyDeletetiktok jeton hilesi
youtube abone satın al
gate io güvenilir mi
referans kimliği nedir
tiktok takipçi satın al
bitcoin nasıl alınır
mobil ödeme bozdurma
mobil ödeme bozdurma
perde modelleri
ReplyDeletesms onay
Mobil Odeme Bozdurma
NFT NASIL ALİNİR
ankara evden eve nakliyat
TRAFİK SİGORTASİ
Dedektör
Web Site Kurma
Ask Romanlari