2024-03-01から1ヶ月間の記事一覧

{Alibaba RDS} Create an ApsaraDB RDS for PostgreSQL instance

https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-postgresql/create-an-apsaradb-rds-for-postgresql-instance 0.11ドル/h 前提: コンソールでDB作成の手前まで実施して、下記メッセージに従い、SLR Authorize実行 The SLR authorization is not…

{Alibaba PolarDB} Getting Started

https://www.alibabacloud.com/help/ja/polardb/getting-started https://qiita.com/dennis_wang/items/b353b74def6d458389c0 https://www.alibabacloud.com/ja/product/polardb?_p_lc=1 polar.mysql.g2.mediumノード数=20.250ドル/h -- 1. クラスタ作成 ali…

Squid

OS

Ubuntu (22) https://zenn.dev/zuzuzu/articles/squid_setting sudo apt updatesudo apt install squid sudo nl -b a /etc/squid/squid.conf | grep -Pv "^ *?[0-9]+\t *?#|^ *?[0-9]+\t *?$" # http_access denyの上に追加 sudo vim /etc/squid/squid.conf …

{SystemsManager} ハイブリッドおよびマルチクラウド環境に Systems Manager をセットアップする

AWS

https://docs.aws.amazon.com/ja_jp/systems-manager/latest/userguide/systems-manager-managedinstances.html https://qiita.com/hyj624117615/items/a6e97e34c222ed0626e0 https://qiita.com/hirosys-biz/items/5e535781433aa9a7caf7 OCIのコンピュートイ…

{Alibaba Function Compute} Quickly create a function

https://qiita.com/morozumi_h/items/d3f22b79729d1c7ba03fhttps://www.bigriver.jp/?p=16889https://www.bigriver.jp/?p=16912 https://www.alibabacloud.com/help/en/fc/developer-reference/cli-referencehttps://www.alibabacloud.com/help/en/functionc…

{Alibaba VPC} フローログの作成と管理

https://www.alibabacloud.com/help/ja/vpc/user-guide/create-and-manage-flow-log https://www.alibabacloud.com/help/en/sls/developer-reference/cli-reference/ https://www.alibabacloud.com/help/ja/sls/user-guide/manage-a-project 前提: 画面のメ…

プランナ統計情報リストア

DB

MySQL (8.0.34) 調べた限りなし Oracle (23c)https://docs.oracle.com/cd/F19136_01/tgsql/managing-historical-optimizer-statistics.html#GUID-F1399D77-7E2E-434F-A67C-6ADB4C648D95 https://blog.usize-tech.com/oracledb_stats_restore/ RESTORE_TABLE_…

{OCI IAM} Base Database Serviceでリソースプリンシパルを使用する

OCI

HowTo configure oci-cli with Instance/Resource Principals (ドキュメントID 2763990.1) https://qiita.com/West_Tail/items/0539b7682afdebb140b4 -- 1. terraformによるVPC構築 cat <<-'EOF' > variables.tf locals { tenancy_ocid = "ocid1.tenancy.oc1…

{Alibaba ROS} Resource Orchestration Service

https://shiojojo.hatenablog.com/entry/2020/05/01/115609https://www.alibabacloud.com/help/en/ros/getting-started -- 1. バケットの作成 aliyun oss mb oss://backet123 \--storage-class Standard \--redundancy-type LRS \--acl private aliyun oss l…

{Alibaba Auto Scaling} Getting started with Auto Scaling

https://www.alibabacloud.com/help/en/auto-scaling/getting-started/scale-ecs-instances-efficiently#h2--2 https://www.alibabacloud.com/help/en/auto-scaling/developer-reference/api-ess-2022-02-22-dir/?spm=a2c63.p38356.0.0.3c8a36ccortc5N 前提:…

{Alibaba OSS} オブジェクトライフサイクル

https://techblog.ap-com.co.jp/entry/2020/06/16/123020 https://www.alibabacloud.com/help/ja/oss/user-guide/lifecycle-4/?spm=a2c63.p38356.0.0.1dfd3a4aEeq6Yb 設定内容: The objects are deleted 1 days after the last modified time of the objects…

{Alibaba OSS} 署名付きURL

https://www.alibabacloud.com/help/ja/oss/user-guide/how-to-obtain-the-url-of-a-single-object-or-the-urls-of-multiple-objectshttps://www.alibabacloud.com/help/ja/oss/developer-reference/sign#concept-303817 -- 1. バケットの作成 aliyun oss mb…

{Alibaba OSS} バージョニング

https://techblog.ap-com.co.jp/entry/2020/06/16/123020 https://www.alibabacloud.com/help/en/oss/developer-reference/bucket-versioning?spm=a2c63.p38356.0.0.1ebf4dc8ZX9i0U -- 1. バケットの作成 aliyun oss mb oss://backet123 \--storage-class St…

{Alibaba OSS} クロスリージョンレプリケーション

https://techblog.ap-com.co.jp/entry/2020/06/16/123020 https://www.alibabacloud.com/help/en/oss/developer-reference/overview-59?spm=a2c63.p38356.0.0.1c7daa7endmdnd https://www.alibabacloud.com/help/en/oss/developer-reference/replication-1?s…

{OCI IAM} インスタンス・プリンシパル

OCI

https://docs.oracle.com/ja-jp/iaas/Content/Identity/Tasks/managingdynamicgroups.htmhttps://docs.oracle.com/ja-jp/iaas/Content/Identity/callresources/Steps_to_Enable_Instances_to_Call_Services.htmhttps://docs.oracle.com/ja-jp/iaas/Content/I…

{Alibaba OSS} 静的ウェブサイトのホスティング

https://qiita.com/morozumi_h/items/a50a82a2b0825b101756https://techblog.ap-com.co.jp/entry/2020/06/16/123020 -- 1. バケット作成 aliyun oss mb oss://backet123 \--storage-class Standard \--redundancy-type LRS \--acl public-read aliyun oss ls…

{Alibaba ECS} プリエンプティブルインスタンス

https://www.alibabacloud.com/help/ja/ecs/user-guide/create-a-preemptible-instance#p-ebg-88j-6e9 インスタンスタイプ : ecs.t5-lc2m1.nano リージョン : 東京 Pay-as-you-goの場合$0.009 USD/時間 プリエンプティブルの場合$0.003 USD/時間 プリエンプ…

{Terraform} ALB/Alibaba

https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/slb_load_balancer cat <<-'EOF' | base64#!/bin/bashyum install -y httpdsystemctl start httpdsystemctl enable httpdecho $(uname -n) > /var/www/html/index.htmlEOF e…

{Terraform} RDS/Alibaba

https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/db_instance ※1 RDS作成時に下記エラー発生WaitForDBParameter Timeout In 1000 Seconds. Got: 0.100000 Expected: 0.1 !!! 小数のparametersに対応していないためと思われ…

{Terraform} S3/Alibaba

https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/oss_bucket echo test > test.txt cat <<-'EOF' > variables.tf EOF cat <<-'EOF' > main.tf terraform { required_version = ">= 1.0.0, < 2.0.0" required_providers { al…

{Terraform} EC2/Alibaba

https://zenn.dev/kaikakin/articles/8e0b1ea308b00a https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/instancehttps://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/eip_address cat <<-'EOF' …

{Terraform} VPC/Alibaba

https://zenn.dev/kaikakin/articles/8e0b1ea308b00a https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/vpc cat <<-'EOF' > variables.tf EOF cat <<-'EOF' > main.tf terraform { required_version = ">= 1.0.0, < 2.0.0" r…

Git基本

参考文献: GitLab実践ガイド(北山晋吾/棚井俊 著) -- 1. 初期設定 git config --global user.name "Administrator"git config --global user.email "Administrator@example.com"git config --global init.defaultBranch maingit config --global color.ui au…

ログインユーザ確認

OS

Ubuntu (22) wwho Debian (12) wwho CentOS (RL9) wwho Windows Server (2022) quser query user