Sage CRM 7 Amazon EC2 Deployment

Embed Size (px)

Citation preview

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    1/43

    v7 Amazon EC2 CloudDeployment Guide

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    2/43

    Copyright 2010 Sage Technologies Limited, publisher of this work. All rights reserved.

    No part of this documentation may be copied, photocopied, reproduced, translated, microfilmed, or otherwise duplicated on any

    medium without prior written consent of Sage Technologies Limited.

    Use of the software programs described herein and this documentation is subject to the End User Licence Agreement enclosed in

    the software package, or accepted during system sign-up. Sage, and the Sage logo are registered trademarks or trademarks of The

    Sage Group PLC. All other marks are trademarks or registered trademarks of their respective owners.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    3/43

    1

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Executive Summary

    ThisdocumentdetailsthetasksnecessarytodeploySageCRMVersion7ontoAmazonEC2Cloud.

    What is Amazon EC2 Cloud?

    Amazon EC2Cloud isa fullymanagedhostingplatformaccessedbyAmazonsweb service calledElasticCompute

    Cloud (EC2). Itprovides theability to runvirtualWindowsandLinux servers inAmazonsdatacentresaround the

    world.EC2isbuiltontopofanotherofAmazonswebservicesSimpleStorageService(S3)whichprovidesthedata

    storagelayerforEC2. Figure1isaverysimplifiedoutlineofEC2andS3.

    Figure1: AmazonCloudEnvironmentoverview.

    Why would a customer want it?

    EC2provides apayasyougowithnominimum charge infrastructure thatwillallow you todeliver SageCRM for

    prospectsveryrapidlywithnohardware investment. YoucanhaveacleanSageCRMonline installrunningonthe

    webwithin30minutesfromstarting.

    Careful selection of AMI (i.e. onewith an associated Elastic Block Store) is required to ensure customer data is

    persistedwhen an AMI is restarted. Installing andmanaging Amazon Cloud customer installations is therefore

    sufficientlycomplexforSMEstodelegateittoaBusinessPartner. Itis,however,wellwithinthecapabilitiesofaSage

    CRMPartner. IbelievethatthisthereforepresentsapotentialrevenueopportunityforSageCRMBusinessPartners.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    4/43

    2

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    EC2 Pricing Options

    AmazonEC2havetwopricingoptions. OnDemandpricing isgreat forDemos,ProofofConceptdevelopmentand

    scalabilitytesting. ReservedInstancesareruntimeAMIsthatareintendedtoruncontinuously. Theyofferacheaper

    optionforproductioninstallsthatareruncontinuouslyforyears.

    Thelatestpricingcanbefoundhere:https://aws.amazon.com/ec2/pricing/ .Asof16March2010thepricesfortheUS

    EastCoastwereasfollows:

    OnDemand

    ReservedInstances

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    5/43

    3

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    EC2 Component Terminology

    ThemostimportantconceptsaBusinessPartnerneedstounderstandaretheAMIandInstance. Amazonprovidesan

    onlineManagementConsoleforadministeringtheCloud,calledtheAWSManagementConsole. Figure2showsthe

    AWSManagementConsolelogindashboard.

    Figure2:AWSManagementConsole

    1. AmazonMachineImage(AMI)TheAMIisthemasterimagetemplatethatyoulaunchinstancesof. TheAMIisanalogoustoaVMWaresnapshot.

    ThereareafewtypesofAMIs:

    AmazonProvidedAMIAmazonprovidesasetofpubliclyavailableLinuxandWindowsbaseimagesthatyoucanuseasastartingpoint.

    OtherPublicAMIsVariouscompaniesandindividualshavemadetheirAMIspubliclyavailable. UserCreatedAMIOnceyouvebuiltandcustomizedyourSageCRMsystem,youcancreateyourown

    bundleofthemachine. YourbundlecanbeusedtoregisteranewAMI. ThisisanewAMIthatyoucanuse

    asanewmasterimage. ThisAMIwillbeprivatetoyouunlessyouchoosetoshareitwithanotheruser. This

    couldbeagoodwaytopackageverticalSageCRMcustomisations.

    SharedAMIUserscaneasilysharetheirAMIswithotherusers. Forexample,SageTechnologiesismakingaSageCRMAMIavailabletoselectedpartners.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    6/43

    4

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    WerecommendthataPartneruseaSageCRMsharedAMItobeginwith. ThepartnercanuseanAmazonprovided

    AMI iftheywanttocreatetheirownverticalcustomisationwhentheyhavereachedagood levelofunderstanding

    andexperiencewiththeAmazonCloud.

    CreatingYourOwnAMI(Bundle)

    YoucaneasilycreateyourownAMI(bundle)fromanexistingimagethatyouhavecustomized. Bundlesaresimilarto

    VMwaresnapshots. Bundlingisaprocessusedtocreateanewimagefromarunningonesoyoudontneedtodoany

    furtherinstallationconfigurationeachtimeyouneedtouseaserver. ThenewAMIcanbesharedwithotherusers.

    AMIBundlesarestoredinAmazonsSimpleStorageServices(S3)environment. AdditionalS3storagecostsapplyto

    holdthenewAMI. SeemoredetailsbelowontheS3environment.

    Itishighlyrecommendedthatyoucreateanewbundleatvariousstagesofdevelopmentsoyoualwayshaveapoint

    intimeyoucanrevertbacktowithouthavingtostartcompletelyover.

    Forcompletedetailsoncreatingandmanagingbundles/AMIs,visit:

    http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/bundling anamiwindows.html

    2. InstancesAfteranAMIislaunched,theresultingrunningsystemiscalledaninstance. TheInstanceistheactualrunningvirtual

    machine.

    InstanceTypes(HardwareConfigurations)

    StandardInstances

    Instancesofthisfamilyarewellsuitedformostapplications.

    m1.small SmallInstance(Default)1.7GBofmemory,1EC2ComputeUnit(1virtualcorewith1EC2ComputeUnit),160GBofinstancestorage,32bitplatform

    m1.large LargeInstance7.5GBofmemory,4EC2ComputeUnits(2virtualcoreswith2EC2ComputeUnitseach),850GBofinstancestorage,64bitplatform

    m1.xlarge ExtraLargeInstance15GBofmemory,8EC2ComputeUnits(4virtualcoreswith2EC2Compute

    Units

    each),

    1690

    GB

    of

    instance

    storage,

    64

    bit

    platform

    HighCPUInstances

    InstancesofthisfamilyhaveproportionallymoreCPUresourcesthanmemory(RAM)andarewellsuitedfor

    computeintensiveapplications.

    c1.medium HighCPUMediumInstance1.7GBofmemory,5EC2ComputeUnits(2virtualcoreswith2.5EC2ComputeUnitseach),350GBofinstancestorage,32bitplatform

    c1.xlarge HighCPUExtraLargeInstance7GBofmemory,20EC2ComputeUnits(8virtualcoreswith2.5EC2ComputeUnitseach),1690GBofinstancestorage,64bitplatform

    EC2ComputeUnit(ECU)OneEC2ComputeUnit(ECU)providestheequivalentCPUcapacityofa1.01.2

    GHz2007Opteronor2007Xeonprocessor.

    Moreoninstancetypescanbefoundhere:http://aws.amazon.com/ec2/instance types/

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    7/43

    5

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    EC2 Security

    AmazonEC2enablesthefirewalltobeextensivelyconfiguredbymeansofSecurityGroups. TheEC2firewallallows

    youtoassignyourinstancestouserdefinedgroupsanddefinefirewallrulesforthesegroups.Asinstancesareadded

    orremoved,theappropriaterulesareenforced. Similarly,ifyouchangearuleforagroup,thechangesare

    automatically appliedtoallmembersofthegroup. Figure3showsatypicaldefaultfirewallsetup.

    Figure3:DefaultFirewallconfiguration

    Asecuritygroupisanamedcollectionofaccessrules.Theseaccessrulesspecifywhichincomingnetworktraffic

    shouldbedeliveredtoyourinstance.Allotheringresstrafficwillbediscarded. Youcanmodifyrulesforagroupat

    anytime.Thenewrulesareautomaticallyenforcedforallcurrentlyrunninginstancesandinstanceslaunchedinthe

    future.

    Whenyou launchanAMI instance,youcanassign ittoasmanygroupsasyou like. Ifnogroupsarespecified, the

    instanceisassignedtothedefaultgroup.Bydefault,thisgroupallowsallnetworktrafficfromothermembersofthis

    groupanddiscardstrafficfromotherIPaddressesandgroups.Ifthisdoesnotmeetyourneeds,youcanmodifythe

    rulesettingsofthedefaultgroup.

    ConfiguringFirewallSettings

    Forcompletedetailsonsettingupfirewallsecuritygroupsandaccessrules,visit:

    http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using networksecurity.html

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    8/43

    6

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    EC2 Scalability

    ElasticIPAddress

    WheneveranAMIinstanceisrestarted,anewDHCPIPAddressandassociatedDNSmappingareassignedtothe

    instance. ThismeansthatallSageCRMuserswouldhavetobecontactedwithanewURLtologintoeverytimethe

    serverisrestarted. Figure4showsatypicaldynamicIP/DNSmapping:

    Figure4: RunninginstancedynamicURL.

    ToavoidthiswecanallocateastaticIPaddressforourcustomerthatismappedtotherunningIPAddress/DNSname.

    WemustpayausagefeeforthestaticIP. AmazoncallsthisanElasticIP. AnotherusefulaspectofusinganelasticIP

    isthatitenablesustomapthisstaticIPtoaDNSnameinourDNSservertohidethefactthatSageCRMisrunningin

    the

    Amazon

    Cloud.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    9/43

    7

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    NotethatwheneverwerestartanAMIinstance,wemustexplicitlyremaptheElasticIPtotherunningserver

    instance. Figure5showsatypicalElasticIPmapping.

    Figure5:ElasticIPmapping.

    So,insteadofusingthebaseURLfortheinstance(thatchangeseverytimetheAMIisrestarted):

    http://ec218473220218.compute1.amazonaws.com/CRM/eware.dll/UK

    WeusethemappedelasticIPURL(thatstaysthesamenomatterhowmanytimestheAMIisrestarted):

    http://184.73.220.218/CRM/eware.dll/UK

    Andwecouldmap184.73.220.218toauserfriendlyDNSname,suchas:

    http://mybusinessdomainname/CRM/eware.dll/UK

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    10/43

    8

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    OrtoTinyURL:

    http://tinyurl.com/sagecrm7demo

    ElasticBlockStore(EBS)

    Bydefault,anAMIrunswithlocalstorage. Thislocalstorageisdeletedwhentheinstanceisrestarted. ForSageCRM

    instances,wemustensurethatweselectanAMIwithanassociatedEBStopersisttheSageCRMdataacrossrestarts.

    WeselectanAMIwithablockstorebyexplicitlysearchingtheAMIlistforEBSAMIsasshowninfigure6below.

    Figure

    6:

    Search

    for

    Windows

    EBS

    AMI

    images

    supplied

    by

    Amazon.

    AmazonEBSvolumesprovideoffinstancestoragethatpersistsindependentlyfromthelifeofaninstance.Amazon

    EBSvolumesarehighlyavailable,highlyreliablevolumesthatcanbeattachedtoarunningAmazonEC2instanceand

    areexposedasstandardblockdevices.AmazonEBSvolumesoffergreatlyimproveddurabilityoverlocalAmazonEC2

    instancestores,asAmazonEBSvolumesareautomatically replicatedonthebackend(inasingleAvailability Zone).

    Forthosewantingevenmoredurability,AmazonEBSprovidestheabilitytocreatepointintimeconsistentsnapshots

    ofyourvolumesthatarethenstoredinAmazonS3,andautomatically replicatedacrossmultipleAvailabilityZones.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    11/43

    9

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    ThesesnapshotscanbeusedasthestartingpointfornewAmazonEBSvolumes,andcanprotectyourdataforlong

    termdurability.

    TheEBSstorageassociatedwithanAMIisshownintheVolumesscreenasshowninFigure7below.

    Figure7:MappedEBSvolumestoourruntimeAMIimages.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    12/43

    10

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Other EC2 Tools and Administration UI Options

    ApartfromtheAmazonAWSManagementConsole,thereareanumberofthirdpartyandopensourcetoolsfor

    managingtheAmazonCloud. ApopularalternativeforFirefoxusersisElasticFox. Figure8showsthesame

    informationasAWSinElasticFox.

    Figure8:ElasticFox

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    13/43

    11

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    AnotherpopularpluginforFirefoxistheS3FoxtooltomanagethebackingS3storage. Figure9showsaviewofS3

    Fox.

    Figure9:S3Fox.

    Amazon S3 is storage for the Internet. The S3 environment iswherebundles (AMIs)are stored. Additional S3

    storage costs apply tohold thenewAMI. S3 can alsobeused to store installation files andother files for your

    instances.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    14/43

    12

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Example Deployment of Sage CRM in Amazon EC2

    ThefollowingsectiondemonstratesastepbystepexampleofhowtoinstallSageCRMVersion7inAmazonEC2from

    scratch. Inthisexample,wewilluseabareAmazonAMIratherthanapreinstalledSageCRMAMItodemonstrate

    thewholeprocess.

    Beforeyoustart CustomersandBusinessPartnersareresponsibleformanagingtheirownEC2cloudinstancesviatheAmazon

    WebServices(AWS)ManagementConsole.Thisincludescustomeraccountactivity,security,accountcharges

    andallaccountconfiguration.ItwillnotbepossibletobillyourcustomersdirectlyfromAmazonEC2.

    SageTechnologiesandSageOpCoshaveno involvement intherelationshipbetween theBusinessPartnerandtheAmazonEC2cloud.

    IfBusinessPartnersneedtosignupforanEC2account.This isdescribed inbriefbelow.More informationcanbefoundathttp://aws.amazon.com/ec2/

    SageCRM issues in thecloudshouldbe logged in theusualway,escalatingup to theSageOpCosupportchannelasanOnPremisecase.TheEnvironmentOSonthecaseshouldbesettoAmazonEC2instance.

    The following video introduces the Amazon Web Services Management Console:http://media.amazonwebservices.com/console/AwsConsole.html ,

    and

    is

    worth

    watching

    before

    you

    get

    started.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    15/43

    13

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    1. SignUptoAmazonEC2foranaccount

    YouwillneedaspecificuserlogontoAmazonEC2. StartbyregisteringwithAWS:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    16/43

    14

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    2. CreateaKeypair

    ThekeypairisaPKIsecuritypolicytoprotectyourinstanceandassociatedEBSdatafromotherAmazonusers. All

    runninginstancesandbundledAMIsareprotectedwithyourkeypair.

    Note:BeforecreatingaKeyPair,pleasemakesuretheFileDownloadoptionisenabledinInternetExplorer.Whenyou

    receivetheprompttodownloadthePrivateKeyPairencryptionfile,pleasesaveitinasecureplace.Youwillbeasked

    foritwhenyouretrievethedefaultWindowspasswordfortheAMIimage,andyoucannotdownloadthefileagain.

    CreateakeypairbyclickingtheCreateKeypairbuttononthetoolbar:

    Fillinthekeyname. Amazonwillgenerateapublicandprivatekeypair. Thepublickeywillbeuploadedand

    controlledbytheAmazonEC2platformandyouwillseetheprivatekeylistedinyourAWSConsole.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    17/43

    15

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    3. SelectanAMIwithabackingEBS

    LogintotheAWSConsolewithyouremailaddressandpassword. SearchforaWindows32bitAMIwithbackingEBS:

    Forthisexamplewewillchoosethelowcost32bitWindowsServer2003withSQLExpressRDBMS.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    18/43

    16

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    4. StarttheAMIInstance

    SelecttheAMIcheckboxandclicktheLaunchbuttoninthetoolbar. Acceptthedefaultsettings(Smallinstance,etc):

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    19/43

    17

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    5. RemotelogintotheAMIInstance

    YouwillfirstneedtogettheServeradministratorpasswordbeforeremoteloggingintotheinstance:

    Beforeattemptingtogettheadminpassword,givetheinstance5to10minutestostartup.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    20/43

    18

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Youwillneedtoenteryourprivatekeyintothecheckboxtodecryptthepassword:

    Note: IfyougetanIEprompttostoprunningthescriptduringdecryption,selectNo.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    21/43

    19

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Makesureyoucopythepasswordsomewheresafeasyouwillnotbeabletogetitagainonceyouconfigurethe

    instance.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    22/43

    20

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Nowremotelogintotheserver:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    23/43

    21

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    6. UploadtheSageCRMInstaller

    YouwillneedtohaveasoftcopyoftheSageCRMinstallerCD. Youcanuseanymethodtouploadtheinstaller,FTP,

    WinSCP,Filezilla,etc. IpreferWinSCP. YouwillprobablywanttoturnoffIEEnhancedSecuritytemporarilyinorderto

    maketheuploadlesstedious.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    24/43

    22

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    7. ConfiguretheAMIinstanceforSageCRM

    NowweneedtoconfigureSQLServerandIISforSageCRMtoworkproperlyintheCloud.

    StartbyenablingTCP/IPonSQLServerExpresstoport1433

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    25/43

    23

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    NowsetServerauthenticationtoSQLServerandWindowsAuthentication mode:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    26/43

    24

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Nowchangethesauserpasswordandenableforlogin:

    RestartSQLServerandtestthatyoucanloginassawiththenewpasswordyoujustset.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    27/43

    25

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    BydefaultIISwillhaveASPprohibited. EnableASPinIISManager:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    28/43

    26

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    8. InstallSageCRMontheAMIInstance

    NowwecaninstallSageCRM.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    29/43

    27

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Itiscriticalthatyousetthedatabasetolocalhost. ThisisbecausethedatabasenamechangeseverytimetheAMI

    instanceisrestarted(astheAMIcanberunonanyVMinanyphysicalserverwithintheAmazonEC2Cloud

    infrastructure):

    Ifyouchoosetheactualmachinename(thedefaultpresented),thenyouwillfindSCRMwillfailtostartupwhentheAMIinstanceisrestarted. Thiscanbefixedlaterbutitismuchbettertoavoidthatsituationbysettingthemachine

    nametolocalhostnow.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    30/43

    28

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Theinstallshouldnowcompleteasnormal:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    31/43

    29

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    9. Checktheinstallworks

    FromtheAWSconsole,copythePublicDNSandmakeupaSageCRMURLasfollows:

    http://ec21847390172.compute1.amazonaws.com/CRM/eware.dll/UK

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    32/43

    30

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Checkthatthisinstallworksfromabrowser:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    33/43

    31

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Loginusingadminandthedemopersonausersandtestthattheapplicationworksasexpectedincludingthe

    Interactivedashboard:

    Congratulations! YouhavesuccessfullydeployedSageCRMtotheCloud.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    34/43

    32

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Wearenotfinishedhowever.Whileyoucanusetheaboveinstanceasademo,youcannotrealisticallyuseitin

    production. ThisisbecausetheURLwillhavetochangeiftheinstanceisrestarted.

    Letsdemonstratethis. GototheAWSconsoleandrestarttheinstance(StopfollowedbyStartnotreboot):

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    35/43

    33

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Waitfor5to10minutesfortheinstancetoreboot. Youcancheckthattheserverhasfullyrebootedbyremote

    connectingtoityouwillnotbeabletoremoteconnectuntiltheserverhasfullyrebooted.

    NotethatthepublicDNShaschanged:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    36/43

    34

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    ThenrefreshthebrowsershowingSageCRMearlier:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    37/43

    35

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    ChangetheURLtothenewPublicDNSname:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    38/43

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    39/43

    37

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    10. AllocateanElasticIPAddresstotheinstall

    ThesituationwheretheinstanceURLchangeseverytimeitisrestartedisobviouslyaseriousissueforproduction. We

    cansolvethisproblembyallocatingastaticElasticIPtotheinstance. Letsdoitnow. SelecttheElasticIPsmenu. If

    therearenoexistingelasticIPsyouwillbepromptedtoallocateone. Nowyouneedtoassociatetheallocatedstatic

    IPwithyourinstance:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    40/43

    38

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    NowchangetheURLintheSageCRMlogintothisstaticIP:

    Logonasapersonaandcheckthatyoucanaccesstheapplicationasbefore.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    41/43

    39

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    Restarttheinstanceasbefore.WhentheinstancehasstartedupyoumustreassociatetheElasticIPwiththe

    instanceagaintoreestablishtheIPmappingtothenewinstancePublicIP/DNS:

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    42/43

    40

    Sage CRM Version 7 Amazon EC2 Cloud Deployment

    CheckthatthesameURLwiththeelasticIPsuccessfullyworksirrespectiveofthenewinstancePublicDNS.

    11. ConfigureyourDNSorTinyURL

    Finally,youcanmaptheElastic IPeithertoyourDNS ifyouwanttohidetheAmazonCloudbehindyourcompany

    websiteorsimplymakeitintoaTinyURL.

  • 8/6/2019 Sage CRM 7 Amazon EC2 Deployment

    43/43