Skip to content

Instantly share code, notes, and snippets.

[string]$server = 'localhost'
[string]$serverurl = "http://$server/ReportServer_SQL2014"
$proxy = $null
# namespace parameter only works for 2010 and not for 2005 but if you get the type after setting up proxy then both works
$proxy += New-WebServiceProxy -Uri "$serverurl/ReportService2010.asmx" -UseDefaultCredential ; #-Namespace SSRS.ReportingService2010
@DIVERGENTGIT
DIVERGENTGIT / deploy-3tier-arch.yml
Created March 2, 2024 17:57 — forked from dahjohnson/deploy-3tier-arch.yml
Deploy a Simple 3-Tier Architecture AWS CloudFormation template
Description: This AWS Cloudformation template deploys a 3-tier architecture in the us-east-1 region
Parameters:
EnvironmentName:
Description: An environment name that is prefixed to resource names
Type: String
Default: 3-Tier
KeyPair:
Description: Please enter the name of the SSH Key Pair for remote access to EC2 instances
AWSTemplateFormatVersion: 2010-09-09
Resources:
# Creating the VPC
cloudVPC:
Type: 'AWS::EC2::VPC'
Properties:
CidrBlock: 10.0.0.0/16
EnableDnsSupport: true
EnableDnsHostnames: true
Tags:
# Create an RDS MySql 5.7 Instance
Parameters:
Owner:
Description: Enter the Name of the owner for this Stack.
Type: String
Default: Name
VPC:
Description: Select VPC form the available VPCs in your account.
Type: AWS::EC2::VPC::Id
PrivateSubnet1:
AWSTemplateFormatVersion: '2010-09-09'
Description: NAT Gateway
Parameters:
Owner:
Description: Enter Team or Individual Name Responsible for the Stack.
Type: String
Default: FirstName LastName
VPC:
Description: Select VPC.
Type: AWS::EC2::VPC::Id