Created
August 20, 2016 01:15
-
-
Save Akira-Taniguchi/00c7e4eec71e8a1a3875adc2568e98f0 to your computer and use it in GitHub Desktop.
[AWS][GCP]Pythonで簡単にクラウドサービスが利用できるようにしてみた ref: http://qiita.com/Akira-Taniguchi/items/76e6b893c75324050fdc
This file contains 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
#EC2インスタンス起動 | |
from cloud_lib.amazon_services import Ec2 | |
ec2_service = Ec2(aws_access_key_id, aws_secret_access_key, region_name) | |
ec2_service.start_instance('instance_id') | |
#BigQueryテーブル削除 | |
from cloud_lib.google_services import BigQuery | |
bq_service = BigQuery(project_id, client_id, client_secret, refresh_token) | |
bq_service.delete_table(data_set_id, table_id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment