Skip to content

Commit

Permalink
Merge pull request #134 from ClickHouse/update-cloud-init
Browse files Browse the repository at this point in the history
Update cloud-init script
  • Loading branch information
alexey-milovidov authored Aug 31, 2023
2 parents 9c6726e + cd8a1b9 commit 01fcacf
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions clickhouse/cloud-init.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/bin/bash

# This is the script for cloud-init, to run on a VM in unattended fashion. Example:
#
# aws ec2 run-instances --count 1 --image-id ami-0d1ddd83282187d18 --instance-type c6a.4xlarge \
# --block-device-mappings 'DeviceName=/dev/sda1,Ebs={DeleteOnTermination=true,VolumeSize=500,VolumeType=gp2}' \
# --key-name milovidov --security-group-ids sg-013790293e9640422 --instance-initiated-shutdown-behavior terminate \
# --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=clickbench}]'
# --user-data file://cloud-init.sh
<<///
aws ec2 run-instances --count 1 --image-id ami-0d1ddd83282187d18 --instance-type c6a.4xlarge \
--block-device-mappings 'DeviceName=/dev/sda1,Ebs={DeleteOnTermination=true,VolumeSize=500,VolumeType=gp2}' \
--key-name milovidov --security-group-ids sg-013790293e9640422 --instance-initiated-shutdown-behavior terminate \
--tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=clickbench}]' \
--user-data file://cloud-init.sh
///

BASE_URL='https://raw.githubusercontent.com/ClickHouse/ClickBench/main/clickhouse/'

Expand Down

0 comments on commit 01fcacf

Please sign in to comment.