Giter Club home page Giter Club logo

cityworks-cloudformation's Introduction

cityworks-cloudformation

A CloudFormation template that creates an infrastructure in which to deploy Cityworks.

Launch Stack

New Site Setup

First create an AWS account and login. Then click the Launch Stack button above. This will deploy a complete infrastructure that will support a Cityworks installation. It will create the network (VPC, Subnets etc), database server (RDS SQL server), and Cityworks app server (Windows Server w/IIS, .NET and Crystal Reports runtime).

You can see the progress of the deployment by going to the CloudFormation section in the AWS Console. Once the status says CREATE_COMPLETE, the infrastructure has been deployed.

As part of the deployment process, an Automation document will be run to configure the Cityworks server by automatically installing the Cityworks prerequisites and creating an initial database on the RDS server. Go to the Systems Manager section in the AWS Console and click the Automation section. You can view the progress of the configuration as it runs. Once all the steps have completed, you can login to the server and install Cityworks.

Go to the CloudFormation section in the AWS Console and click on the Outputs tab of the stack we launched. This Outputs page contains a number of vital information that you will need to connect to and configure your environment.

Go to the EC2 section in the AWS Console. Right click on the Cityworks instance and click Get Windows Password. It will prompt for a private key value to decrypt the password. Copy the KeyPairPrivateKey value from the Outputs tab in CloudFormation, paste it in the box and click Decrypt Password. You will then see a Public DNS name and Admin credentials you can use to RDP into the Cityworks server.

Once you have connected to the server, download a Cityworks installer from MyCityworks and run it. Use the RDSInstanceAddress and AztecaPassword values from the Outputs tab in CloudFormation as the database connection info. Select the cityworks database from the drop down.

Finish the install by running DB Manager against the database.

This should complete your Cityworks install and you can now browse the Public DNS name and access your /cityworks application.

Additional Optional Tasks

These are some additional things you can do to improve your deployment.

  • Connect to the RDS instnace using SQL Managment Studio that is already installed on the Cityworks server.
  • Create a custom DNS CNAME record in your domain to point to the Public DNS name from the CityworksInstanceAddress value in the Outputs tab of CloudFormation.
  • Install an SSL certificate in IIS for custom DNS name and add a https binding in IIS so you can access the site over https using your domain name.
  • Restore an existing SQL bak file to your RDS instance. Follow the guide here https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html Use the S3 bucket in the value of RDSS3Bucket in the Outputs tab of CloudFormation. The IAM Role and Option group described in the instructions were already created as part of the CloudFormation stack. You can also use the values of S3BucketAccessKeyId and S3BucketSecretAccessKey to access the S3 bucket.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.