Skip to content

Commit 47d4fc1

Browse files
committedMar 5, 2020
Adding new project
1 parent 23d6656 commit 47d4fc1

File tree

286 files changed

+35151
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

286 files changed

+35151
-0
lines changed
 

‎AWS_Services/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Launching EMR cluster from command line
2+
### Below example creates a 3 Node EMR cluster with 1 master and 2 slave Nodes.
3+
4+
aws emr create-cluster \
5+
--applications Name=Ganglia Name=Spark Name=Zeppelin \
6+
--ebs-root-volume-size 10 \
7+
--ec2-attributes \
8+
'{"KeyName":<cluster-name>,"InstanceProfile":<IAMROLE>,"SubnetId":<subnet-id>,"EmrManagedSlaveSecurityGroup":<slave-security-group-id>,"EmrManagedMasterSecurityGroup":<master-security-group-id>}' \
9+
--service-role IAMROLE \
10+
--enable-debugging \
11+
--release-label <emr release version e.g emr-5.29.0> \
12+
--log-uri <s3-bucket-path-for-logging> \
13+
--name <cluster-name> \
14+
--instance-groups \
15+
'[ \
16+
{"InstanceCount":1,"EbsConfiguration":{"EbsBlockDeviceConfigs":[{"VolumeSpecification":{"SizeInGB":32,"VolumeType":"gp2"},"VolumesPerInstance":2}]},"InstanceGroupType":"MASTER","InstanceType":"m5.xlarge","Name":"Master Instance Group"}, \
17+
{"InstanceCount":2,"EbsConfiguration":{"EbsBlockDeviceConfigs":[{"VolumeSpecification":{"SizeInGB":32,"VolumeType":"gp2"},"VolumesPerInstance":2}]},"InstanceGroupType":"CORE","InstanceType":"m5.xlarge","Name":"Core Instance Group"}\
18+
]' \
19+
--scale-down-behavior TERMINATE_AT_TASK_COMPLETION \
20+
--region us-east-1
21+
22+
23+
# AWS s3 CLI Cheat Sheet
24+
![s3 cli cheat sheet](https://github.com/san089/Data_Engineering_Projects/blob/master/AWS_Services/aws-s3-cheat-sheet.png)

‎AWS_Services/aws-s3-cheat-sheet.png

57.9 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.