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
#!/bin/bash | |
# | |
# /etc/rc.d/init.d/xvfbd | |
# | |
# chkconfig: 345 95 28 | |
# description: Starts/Stops X Virtual Framebuffer server | |
# processname: Xvfb | |
# | |
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
import boto3 | |
import hashlib | |
import json | |
import copy | |
import urllib2 | |
# ID of the security group we want to update | |
SECURITY_GROUP_ID = "sg-XXXX" | |
# Description of the security rule we want to replace |
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
import boto3 | |
import hashlib | |
import json | |
import urllib2 | |
# Ports your application uses that need inbound permissions from the service for | |
INGRESS_PORTS = { | |
'web' : [80, 443], | |
'ssh': [22,] |
OlderNewer