<commit_before>var AWS = require('aws-sdk');

AWS.config = new AWS.Config({
	accessKeyId: '<KEY>',
	secretAccessKey: '<KEY>',
	region: 'us-east-1'
});

var ec2 = new AWS.EC2();

var ec2_params = {
	ImageId: 'ami-fce3c696',
	MaxCount: 6,
	MinCount: 6,
	BlockDeviceMappings: [{
		DeviceName: "/dev/sda1",
		Ebs: {
			DeleteOnTermination: true ,
			VolumeSize: 8,
			VolumeType: 'gp2'
		}
	}],
	DisableApiTermination: false,
	DryRun: false,
	EbsOptimized: false,
	InstanceInitiatedShutdownBehavior: 'terminate',
	InstanceType: 'm3.medium',
	KeyName: 'dml-cloud-ec2-access-portal',
	Monitoring: { Enabled: false },
	Placement: { AvailabilityZone: 'us-east-1a' },
	SecurityGroupIds: ['sg-3619ea4d'],
	SubnetId: 'subnet-44bfd11d',
}

ec2.runInstances(ec2_params, function (err, data) {
	if (err) {
		return console.error(err);
	}
	console.log("Instances Created");<commit_msg>fixed ec2 provisioning<commit_after>var AWS = require('aws-sdk');


AWS.config = new AWS.Config({
	region: 'us-east-1'
});

var ec2 = new AWS.EC2();

var ec2_params = {
	ImageId: 'ami-fce3c696',
	MaxCount: 10,
	MinCount: 10,
	BlockDeviceMappings: [{
		DeviceName: "/dev/sda1",
		Ebs: {
			DeleteOnTermination: true ,
			VolumeSize: 8,
			VolumeType: 'gp2'
		}
	}],
	DisableApiTermination: false,
	DryRun: false,
	EbsOptimized: false,
	InstanceInitiatedShutdownBehavior: 'terminate',
	InstanceType: 'm3.medium',
	KeyName: 'dml-cloud-ec2-access-portal',
	Monitoring: { Enabled: false },
	Placement: { AvailabilityZone: 'us-east-1a' },
	SecurityGroupIds: ['sg-3619ea4d'],
	SubnetId: 'subnet-44bfd11d',
}

ec2.runInstances(ec2_params, function (err, data) {
	if (err) {
		return console.error(err);
	}
	console.log("Instances Created");
{'fraction_non_alphanumeric': 0.16216216216216217, 'fraction_numerical': 0.033490011750881316, 'mean_word_length': 4.832191780821918, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5860122', 'n_tokens_mistral': 726, 'n_tokens_neox': 688, 'n_words': 129}