Description
This is a template for deploying a Single Windows server running IIS, ASP .Net 4.5 and FTP.
This deployment configures IIS with installs ASP .Net 4.5 It also creates a FTP site.
Requirements
- A Heat provider that supports
Rackspace::Cloud::WinServer
. - An OpenStack username, password, and tenant id.
- python-heatclient
>= v0.2.8
:
pip install python-heatclient
We recommend installing the client within a Python virtual environment.
Example Usage
Here is an example of how to deploy this template using the python-heatclient:
heat --os-username <OS-USERNAME> --os-password <OS-PASSWORD> --os-tenant-id \
<TENANT-ID> --os-auth-url https://identity.api.rackspacecloud.com/v2.0/ \
stack-create aspdotnet -f asp.net-app-single.yaml \
-P server_hostname=my-site -P domain=example.org -P ftp_username=ftp_user
- For UK customers, use
https://lon.identity.api.rackspacecloud.com/v2.0/
as the--os-auth-url
.
Optionally, set environmental variables to avoid needing to provide these values every time a call is made:
export OS_USERNAME=<USERNAME>
export OS_PASSWORD=<PASSWORD>
export OS_TENANT_ID=<TENANT-ID>
export OS_AUTH_URL=<AUTH-URL>
Parameters
Parameters can be replaced with your own values when standing up a stack. Use
the -P
flag to specify a custom parameter.
server_hostname
: Hostname to set for the server (Default: QlikView)image
: Operating System to use (Default: Windows Server 2008 R2 SP1)flavor
: Server size for your deployment (Default: 4 GB Performance)
Outputs
Once a stack comes online, use heat output-list
to see all available outputs.
Use heat output-show <OUTPUT NAME>
to get the value fo a specific output.
server_ip
: Public IP of the Windows server.admin_password
: Administrator password for logging into the Windows Server.
Stack Details
Getting Started
If you're new to running a web application built with ASP .Net framework ASP .Net Getting Started will help walk you through learn about ASP .Net and Getting Started with IIS has great details about IIS and its parameters.
Logging in via Remote Desktop
The Administrator password is included in the passwords/secrets section of this deployment. Use that password and the instructions found here to login and begin managing IIS.
Details of Your Setup
This setup was built using a Powershell Script. Once the deployment is up, the script will not be run again, so it is safe to change settings and configurations on your server and within IIS. The FTP (File transfer Protocol) credential is included in the passwords/secrets section of this deployment.
Contributing
There are substantial changes still happening within the OpenStack Heat project. Template contribution guidelines will be drafted in the near future.
License
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.