Amazon AiCache Getting Started Manual

Type
Getting Started Manual

Amazon AiCache is a powerful caching appliance that can help you to improve the performance of your website or application. It is easy to use and can be up and running in minutes. With AiCache, you can:

  • Reduce page load times: AiCache stores frequently requested data in memory, so that it can be delivered to your users more quickly. This can lead to significant improvements in page load times, especially for websites that are heavily reliant on database queries.
  • Improve website performance: AiCache can help to improve the overall performance of your website by reducing the load on your web server. This can lead to faster response times and fewer errors, which can result in a better user experience.

Amazon AiCache is a powerful caching appliance that can help you to improve the performance of your website or application. It is easy to use and can be up and running in minutes. With AiCache, you can:

  • Reduce page load times: AiCache stores frequently requested data in memory, so that it can be delivered to your users more quickly. This can lead to significant improvements in page load times, especially for websites that are heavily reliant on database queries.
  • Improve website performance: AiCache can help to improve the overall performance of your website by reducing the load on your web server. This can lead to faster response times and fewer errors, which can result in a better user experience.
AiCacheAmazonWebServices(AWS)GettingstartedGuide:
Version:1.0
1 RegisteringforAiCacheAmazonMachineImage(AMI)
a Ifyou arealreadyregisteredskipthisstepandgotoStep2.
b Gotohttp://aicache.com/
clickonAmazontopmenu,Clickonordernow
c Thiswilltakeyouto ourpaymentpageonAmazon.com.
d LoginwithyourAmazoncredentialsthenclickcontinue,fillinthenecessaryinformation
thenclickcontinue.Followtheonscreenwizard.
e Onceyouaredonewiththe
registrationprocess,amessagewillappeargivingyoua
verificationcode.
f Youarenowreadytogotostep2.
2 LaunchinganewAiCacheinstanceusingtheAiCacheAMI:
a GotoAWSManagementconsoleathttps://console.aws.amazon.com/
selecttheAmazon
Ec2tab.
b SigninusingthesameAWSaccountthatyouhaveregisteredwithinstep1.
Youwillseeadashboardthatlooksliketheonebelow:
c SelectAMIsontheleftsidemenu:
d Youwillbepresentedwitha
screenshowingmanyAMIsfromdifferentprovidersasshown
below:
e Intheviewingdropdownbox,selectpublicimages,intheemptytextboxstarttyping
aicache.
f YoumightbepresentedwithanumberofaicacheAMIs,selecttheonewhichismore
recent.AiCacheAMIsstartwithaaicache/prefix
g SelecttheappropriateAMIthenclickLaunch
h DependingonwhetheritisyourfirsttimeusingAWSEC2,andonyourspe cificneeds,AWS
managementconsolemightaskyoutocreateanewkeypair.UsuallywithAiCacheyouare
notlikelytoneedthekeypair,
howeveritisrequiredbyAmazonAWS,anditis
recommendedthatucreateakeypairwithauniquenameforaicache

i Typethekeypairname,clickonCreateanddownloadkeypair,thenclickcontinue.
Warning:Keypairisconsideredconfidential,ifanyone
canaccessyourkeypairheislikely
tobeabletocontrol,terminate,restartortamperwithyourAicacheandanyAmazonEC2
instanceyoulaunchusingthiskeypair.
j Click“continue”toconfigurefirewallsettingsforyourAiCacheinstance.
k Dependingonwhetheryouhavebeenusing
AWS,andonyourspecificneedsyoumightbe
requiredtosetupyourinstance firewall.Thefirewallconfigurationiscalled(securitygroups)
usingAmazonterminology.Withaspecificsecuritygroupyoucansetyourfirewalltoallow
certainIPaddressestoaccesscertainportsonyourinstance.
SinceAicacheisbasicallyawebserveryoushouldallowallclientstoconnecttoport80,you
shouldalsoremembertoallowyourselfto
useSSHtoconnecttotheinstancethusport20
andport22shouldalwaysbeopen.Asarecommendationforpeoplegettingstartedwith
AWSEC2andAicachesetthefirewalltobeverypermissive;youcancomebacklaterand
changethefirewallpolicytosuityourneeds.Thus
allyouhavetodoistoselectSSHport22
thencontinue,bydefaultthistranslatestoaninstancewithallportsopen.
l Onceyouaredonewiththesecuritygroupsclickcontinue
m Nextyouwillbepresentedwiththefinalscreenwhereuselectthenumber
ofaicache
instancesyouwouldliketostart,selectthesecuritygroupandthekeypair,andthenlaunch
theinstance.
3 ConnectingtotheinstanceandrunningAiCache:
a Afterlaunchingtheinstance,andifyougotoinstancesmenuontheleft,youshouldbeable
toseetheinstancewithstatusshownaslaunching.Afterawhile,and whentheinstance
statuschangetorunning,youwill
beabletoconnecttoSSHtotheinstance.
b UsethepublicDNSnameoftheinstance(server)toSSHtotheserver.
IfyouareusingaLinux,orMacOSbasedoperatingsystemsshisstraightforward,ifyouare
usingWindowsthereisafree
SSHsolutionforwindows,formoreinformationonusingand
downloadingPutty(Ansshsolutionforwindows)pleasevisit
http://www.chiark.greenend.org.uk/~sgtatham/putty/


4 ConnectingtoAiCacheinstance:
ForallEC2exp ert s:donottrytologintotheinstanceasroo twithprivatekeycertificate,root
accesstotheinstancehasbeendisabled.
AllAiCacheusersshouldlogintotheinstanceusingthefollowingcredentials:
AicacheLinuxUseraccount
:
Username:aiuser
Password:a1ca$hP@ss
Note:Usersareencouragedto changethedefaultpasswordusinglinux“passwd”command
assoonastheylogintotheinstance.
Oncetheuserisloggedinhewilllandintothedirectory/home/aiuser
ThisdirectorycontainsallthenecessaryscriptsforyoutocompletelysetupandrunAiCache.
Ifyoudo anLScommand“ls”inyourhomedirectoryyouwillseeanumberoffiles:
1 AdminGuide.pdf:thisguideisthesameguideusedfornonAWSAicachewhichisalso
availableonAicachewebsitehttp://aicache.com/admguide.pdf
.Thisguidehasallthe
necessarydetailsforyou toconfigureAiCachecompletely
Notes:
a AspecialadminguideforAWSuserswillbeavailablesoon.
b Whereverthemanualusesthenameaicachebinary(aicache)youusestartAiCache.sh
scriptinstead.
c NotethatnonAWSAiCachebinary
needsalicensefiletorunwherevertheAWS
AiCachebinarydoesnotrequireanylicensefileasaparameter.
2 startAiCache.sh
ThisisashellscriptthatisusedtostartAiCacheserver.
Youcanpassalltheparameterstothisshellscriptasdescribedintheusermanualforthe
normalnonAWSaicachebinaryexceptthelicensefileparameter,sinceAiCacheAWS
doesn’tneedalicense.
The
mainandmostimportantparametertobepassedtothescripttostarttheAiCache
serveristheconfigurationfileparameter(f)followedbytheabsolutefullpathtothe
aicacheconfigurationfile,thusforexampletostartAicacheserverwiththesample.cfg
(sampleconfigurationfile)inyourhome
directoryyouwouldusethecommand
./startAiCache.sh‐f/home/aiuser/example.cfg
Notes:
a RunningAiCachewithexample.cfgimmediatelywillproduceerrorssincethis
isasampleconfigurationfilethathasnorealmappingtoarealdomain.Use
thesampleconfigurationfiletogetstarted.
b Donotforgettobackupexample.cfgbeforemodifyingit,incaseyouhave
errors
youcangobackandcompareyourfiletothesamplefile.
3 terminateAiCache.sh
Thisfileisavailableon lyforAWSaicacheusers,thisfileisusedtoterminateAiCacheserver
runningontheinstance,toterminateAiCachesimplycallthisscriptpassingtheaicache
configurationfile(
withoutthe–fparameterasinstartAiCache.sh)
./terminateAiCache.sh/home/aiuser/example.cfg
4 example.cfg:
Thisfileisasampleconfigurationfilethatyoucanuse togetstartedquicklyconfiguringand
runningaicache.
5 ReadMe.txt,asimplereadmefilewhichhasinformationaboutAiCacheandAicache
support.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8

Amazon AiCache Getting Started Manual

Type
Getting Started Manual

Amazon AiCache is a powerful caching appliance that can help you to improve the performance of your website or application. It is easy to use and can be up and running in minutes. With AiCache, you can:

  • Reduce page load times: AiCache stores frequently requested data in memory, so that it can be delivered to your users more quickly. This can lead to significant improvements in page load times, especially for websites that are heavily reliant on database queries.
  • Improve website performance: AiCache can help to improve the overall performance of your website by reducing the load on your web server. This can lead to faster response times and fewer errors, which can result in a better user experience.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI