- RDS replication
- s3 bucket replication (Inter Region access need to set up)
- Credentials from the systems manager (Inter Region set up)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This pipeline script will perform sf:retrive, checkin code to vcs & create a PR automatically | |
//excuse my indentations - this was written in a hurry | |
/* | |
Author: Niristotle Okram | |
*/ | |
import groovy.json.JsonSlurperClassic | |
import groovy.json.* | |
node('master') { |
CREATE USER automation_ro WITH PASSWORD '{~q9%[,ZLu$w';
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\nokram> Invoke-Command -ComputerName 10.181.140.188 -ScriptBlock { Get-ChildItem C:\ } -credential Administrator | |
[10.181.140.188] Connecting to remote server 10.181.140.188 failed with the following error message : The WinRM client cannot process the request. Default authentication may be used with an IP address under the following | |
conditions: the transport is HTTPS or the destination is in the TrustedHosts list, and explicit credentials are provided. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be | |
authenticated. For more information on how to set TrustedHosts run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic. | |
+ CategoryInfo : OpenError: (10.181.140.188:String) [], PSRemotingTransportException | |
+ FullyQualifiedErrorId : CannotUseIPAddress,PSSessionStateBroken |
####################################################################################
#Setting up the internal hostedzone and the recordset
avabackendhostedzone:
Type: "AWS::Route53::HostedZone"
Properties:
HostedZoneConfig:
Comment: "Hosted zone for devtest env"
Name: "be-devtest.xyz.com"
VPCs:
- docker image updated to use the SSL certs
- Create SSL cert chain $ cat www.example.com.crt bundle.crt > www.example.com.chained.crt ref: http://nginx.org/en/docs/http/configuring_https_servers.html
-
Change the ALB Target group to listen on 443 instead of 80
-
Change the Health Check port to 301 [this is because of the "proxy_pass" to the the backend service]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// v1.1.2 | |
var https = require('https'); | |
var zlib = require('zlib'); | |
var crypto = require('crypto'); | |
//Adding the sns module to send email | |
var AWS = require('aws-sdk'); | |
var endpoint = 'xxxxxxxxxxx.us-east-1.es.amazonaws.com'; | |
exports.handler = function(input, context) { |