<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[IGNIS_LAB]]></title><description><![CDATA[Thoughts, stories and ideas.]]></description><link>https://ignis.kr/</link><image><url>https://ignis.kr/favicon.png</url><title>IGNIS_LAB</title><link>https://ignis.kr/</link></image><generator>Ghost 5.36</generator><lastBuildDate>Thu, 16 Apr 2026 20:07:25 GMT</lastBuildDate><atom:link href="https://ignis.kr/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[EKS 클러스터 생성]]></title><description><![CDATA[<p></p><ol><li>kubectl&#xC744; &#xB2E4;&#xC6B4;&#xBC1B;&#xB294;&#xB2E4;.</li></ol><pre><code class="language-bash">curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/1.28.3/2023-11-02/bin/linux/amd64/kubectl
</code></pre><p>2. &#xAD8C;&#xD55C;&#xC744; &#xBCC0;&#xACBD;&#xD574;&#xC8FC;&#xACE0; bin&#xC5D0; &#xB123;&#xB294;&#xB2E4;.</p><pre><code class="language-bash">chmod 755 kubectl
mkdir bin
mv kubectl bin</code></pre><p>3. &#xD658;&#xACBD;&#xBCC0;&#xC218;</p>]]></description><link>https://ignis.kr/eks-keulreoseuteo-saengseong/</link><guid isPermaLink="false">6552d95912fa7c04466e6950</guid><dc:creator><![CDATA[gold]]></dc:creator><pubDate>Tue, 14 Nov 2023 03:58:31 GMT</pubDate><content:encoded><![CDATA[<p></p><ol><li>kubectl&#xC744; &#xB2E4;&#xC6B4;&#xBC1B;&#xB294;&#xB2E4;.</li></ol><pre><code class="language-bash">curl -O https://s3.us-west-2.amazonaws.com/amazon-eks/1.28.3/2023-11-02/bin/linux/amd64/kubectl
</code></pre><p>2. &#xAD8C;&#xD55C;&#xC744; &#xBCC0;&#xACBD;&#xD574;&#xC8FC;&#xACE0; bin&#xC5D0; &#xB123;&#xB294;&#xB2E4;.</p><pre><code class="language-bash">chmod 755 kubectl
mkdir bin
mv kubectl bin</code></pre><p>3. &#xD658;&#xACBD;&#xBCC0;&#xC218; &#xC138;&#xD305;&#xD574;&#xC8FC;&#xACE0; &#xC798; &#xB418;&#xB294;&#xC9C0; &#xD14C;&#xC2A4;&#xD2B8;</p><pre><code>echo &apos;export PATH=$HOME/bin:$PATH&apos; &gt;&gt; ~/.bashrc
source ~/.bashrc

(base) gold@ubuntu:~$ kubectl version
Client Version: v1.28.3-eks-4f4795d
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3-eks-4f4795d</code></pre><p>4. AWS &#xC815;&#xBCF4; &#xC138;&#xD305; <br>- &#xA0;Access Key&#xC640; Secret Key&#xB294; IAM -&gt; &#xC0AC;&#xC6A9;&#xC790;&#xC5D0;&#xC11C; &#xBC1C;&#xAE09;&#xBC1B;&#xC73C;&#xBA74; &#xB41C;&#xB2E4;.</p><pre><code class="language-bash">gold@ubuntu:~$ aws configure
AWS Access Key ID [None]: &#xC790;&#xC2E0;&#xC758; Access Key ID
AWS Secret Access Key [None]: &#xC790;&#xC2E0;&#xC758; Secret Access Key
Default region name [None]: &#xC0AC;&#xC6A9;&#xD558;&#xACE0; &#xC788;&#xB294; region &#xCF54;&#xB4DC;
Default output format [None]: JSON
gold@ubuntu:~$</code></pre><p></p><p>5. AMI&#xB97C; &#xC124;&#xC815;&#xD55C;&#xB2E4;.</p><ul><li>cloudformation</li><li>ec2</li><li>IAM</li><li>EKS</li></ul><p></p><p>6. &#xC774;&#xC81C; EKS&#xB97C; &#xC0DD;&#xC131;&#xD55C;&#xB2E4; ( &#xC624;&#xB798;&#xAC78;&#xB9BC; )</p><figure class="kg-card kg-code-card"><pre><code class="language-bash">eksctl create cluster --name TEST-EKS --version 1.28 --region ap-northeast-2 --nodegroup-name netis-nodes --node-type t3.large --nodes 3</code></pre><figcaption>&#xCEF4;&#xD4E8;&#xD305; &#xB178;&#xB4DC;&#xB294; t3.large 3&#xAC1C;&#xB97C; &#xC0AC;&#xC6A9;&#xD558;&#xC600;&#xB2E4;</figcaption></figure><p>7. update-kubeconfig&#xB85C; &#xC124;&#xC815;&#xC744; &#xC801;&#xC6A9;&#xD55C;&#xB2E4;.</p><pre><code class="language-bash">aws eks update-kubeconfig --region ap-northeast-2 --name TEST-EKS</code></pre><p></p><p>8. &#xC774;&#xC81C; &#xB178;&#xB4DC;&#xAC00; &#xC798; &#xC870;&#xD68C;&#xB418;&#xBA74; &#xB05D;.</p><pre><code class="language-bash">gold@ubuntu:~$ kubectl get nodes
NAME                                                STATUS   ROLES    AGE     VERSION
ip-192-168-21-3.ap-northeast-2.compute.internal     Ready    &lt;none&gt;   4m53s   v1.28.2-eks-a5df82a
ip-192-168-57-211.ap-northeast-2.compute.internal   Ready    &lt;none&gt;   4m54s   v1.28.2-eks-a5df82a
ip-192-168-83-222.ap-northeast-2.compute.internal   Ready    &lt;none&gt;   4m52s   v1.28.2-eks-a5df82a
</code></pre>]]></content:encoded></item><item><title><![CDATA[apache kudu multiple master]]></title><description><![CDATA[<p></p><p></p><ul><li>&#xC2DC;&#xB098;&#xB9AC;&#xC624; : master&#xAC00; &#xD558;&#xB098;&#xB9CC; &#xC874;&#xC7AC;&#xD558;&#xB294; &#xACFC;&#xC815;&#xC5D0;&#xC11C; master&#xB97C; 3&#xAC1C;&#xB85C; &#xC99D;&#xC124;</li><li>&#xC791;&#xC5C5; &#xC601;&#xD5A5; : &#xB9C8;&#xC2A4;&#xD130;&#xAC00; &#xC7A0;&#xC2DC; &#xC911;&#xB2E8;&#xB418;&#xC5B4;&#xC57C; &#xD568;.</li><li>&#xBC84;&#xC804; : apache kudu 1.17</li></ul><p></p><ol><li>&#xC0AC;&#xC804;&#xC791;&#xC5C5;</li></ol>]]></description><link>https://ignis.kr/apache-kudu-multiple-master/</link><guid isPermaLink="false">64213ce7efa88fa873fae34c</guid><dc:creator><![CDATA[gold]]></dc:creator><pubDate>Mon, 27 Mar 2023 07:02:43 GMT</pubDate><content:encoded><![CDATA[<p></p><p></p><ul><li>&#xC2DC;&#xB098;&#xB9AC;&#xC624; : master&#xAC00; &#xD558;&#xB098;&#xB9CC; &#xC874;&#xC7AC;&#xD558;&#xB294; &#xACFC;&#xC815;&#xC5D0;&#xC11C; master&#xB97C; 3&#xAC1C;&#xB85C; &#xC99D;&#xC124;</li><li>&#xC791;&#xC5C5; &#xC601;&#xD5A5; : &#xB9C8;&#xC2A4;&#xD130;&#xAC00; &#xC7A0;&#xC2DC; &#xC911;&#xB2E8;&#xB418;&#xC5B4;&#xC57C; &#xD568;.</li><li>&#xBC84;&#xC804; : apache kudu 1.17</li></ul><p></p><ol><li>&#xC0AC;&#xC804;&#xC791;&#xC5C5; - &#xD14C;&#xC774;&#xBE14;&#xC0DD;&#xC131;</li></ol><figure class="kg-card kg-code-card"><pre><code class="language-sql">create table test_table(
yyyymmdd int not null comment &apos;yyyymmdd&apos;,
ymdhms bigint not null comment &apos;ymdhms&apos;,
student_no int not null comment &apos;student_no&apos;,
primary key (yyyymmdd, ymdhms, student_no)
)
partition by range ( yyyymmdd )
(
partition value = 20220504,
partition value = 20220505
)
stored as kudu
tblproperties
(
&apos;kudu.master_addresses&apos;=&apos;kudu-master1:7051&apos;,
&apos;kudu.num_tablet_replicas&apos;=&apos;3&apos;
);</code></pre><figcaption>&#xD14C;&#xC774;&#xBE14; &#xC0D8;&#xD50C;</figcaption></figure><figure class="kg-card kg-code-card"><pre><code class="language-bash">+-------------------------+
| summary                 |
+-------------------------+
| Table has been created. |
+-------------------------+
Fetched 1 row(s) in 0.65s

[root@kudu-master1 ~]# kudu table list kudu-master1;
impala::default.test_table</code></pre><figcaption>&#xC784;&#xD314;&#xB77C;&#xC5D0;&#xC11C; &#xD14C;&#xC774;&#xBE14;&#xC744; &#xB9CC;&#xB4E4;&#xACE0;, &#xD14C;&#xC774;&#xBE14; &#xB9AC;&#xC2A4;&#xD2B8;&#xB97C; &#xD655;&#xC778;&#xD55C;&#xB2E4;.</figcaption></figure><p>2. &#xA0;&#xB9C8;&#xC2A4;&#xD130;&#xC758; uuid&#xB97C; &#xD655;&#xC778;&#xD558;&#xACE0; &#xB098;&#xBA38;&#xC9C0; &#xC11C;&#xBC84;&#xB4E4;&#xC758; uuid&#xB97C; &#xD655;&#xC778;&#xD55C;&#xB2E4;.</p><pre><code class="language-bash">[root@kudu-master1 kudu]# kudu fs dump uuid --fs_wal_dir=/home/gold/data/kudu/master
4f1c106e9b554743ac364967cb5227b4

[root@kudu-master2 kudu]# kudu fs format --fs_wal_dir=/home/gold/data/kudu/master
53e12ba47c8c4ef386e8d6927093986e

[root@kudu-master3 kudu]# kudu fs format --fs_wal_dir=/home/gold/data/kudu/master
a45c1ff473f74827814c56a3834f0965</code></pre><p>3. &#xB9C8;&#xC2A4;&#xD130;&#xC5D0;&#xC11C;&#xC544;&#xB798;&#xC640; &#xAC19;&#xC774; &#xB808;&#xD50C;&#xB9AC;&#xCE74; &#xC124;&#xC815;&#xC744; &#xBA39;&#xC778;&#xB2E4;.</p><pre><code class="language-bash">kudu local_replica cmeta rewrite_raft_config --fs_wal_dir=/home/gold/data/kudu/master 00000000000000000000000000000000 4f1c106e9b554743ac364967cb5227b4:kudu-master1:7051 53e12ba47c8c4ef386e8d6927093986e:kudu-master2:7051 a45c1ff473f74827814c56a3834f0965:kudu-master3:7051
</code></pre><p></p><p>4. &#xB9C8;&#xC2A4;&#xD130;&#xB97C; &#xB2E4;&#xC2DC; &#xAD6C;&#xB3D9;&#xD55C;&#xB2E4;</p><pre><code class="language-bash">systemctl restart kudu-master</code></pre><p></p><p>5. &#xB098;&#xBA38;&#xC9C0; &#xC11C;&#xBC84;&#xC5D0;&#xC11C; &#xC544;&#xB798;&#xC640; &#xAC19;&#xC774; &#xB9C8;&#xC2A4;&#xD130; &#xC815;&#xBCF4;&#xB97C; &#xBCF5;&#xC0AC;&#xD574;&#xC628;&#xB2E4;.</p><pre><code class="language-bash">kudu local_replica copy_from_remote --fs_wal_dir=/home/gold/data/kudu/master --fs_data_dirs=/home/gold/data/kudu/master  00000000000000000000000000000000 kudu-master1:7051</code></pre><p></p><p>6. &#xA0;&#xB098;&#xBA38;&#xC9C0; &#xC11C;&#xBC84;&#xB4E4;&#xC744; &#xC2E4;&#xD589;&#xD55C;&#xB2E4;</p><pre><code class="language-bash">systemctl start kudu-master
</code></pre><p></p><p>7. &#xD14C;&#xC774;&#xBE14; &#xB9AC;&#xC2A4;&#xD2B8;&#xB97C; &#xD655;&#xC778;&#xD558;&#xACE0; &#xAE30;&#xC874; &#xD14C;&#xC774;&#xBE14;&#xC744; alter &#xD55C;&#xB2E4;.</p><pre><code class="language-bash">[kudu-master1:21050] default&gt; ALTER TABLE test_table
SET TBLPROPERTIES
(&apos;kudu.master_addresses&apos; = &apos;kudu-master1,kudu-master2,kudu-master3&apos;);
Query: ALTER TABLE test_table
SET TBLPROPERTIES
(&apos;kudu.master_addresses&apos; = &apos;kudu-master1,kudu-master2,kudu-master3&apos;)
+----------------+
| summary        |
+----------------+
| Updated table. |
+----------------+
Fetched 1 row(s) in 0.22s
</code></pre><p>8. &#xBC14;&#xB010; &#xC815;&#xBCF4;&#xB97C; &#xD655;&#xC778;&#xD55C;&#xB2E4;.</p><figure class="kg-card kg-code-card"><pre><code class="language-bash">[kudu-master1:21050] default&gt; show create table test_table</code></pre><figcaption>TBLPROPERTIES (&apos;external.table.purge&apos;=&apos;TRUE&apos;, &apos;impala.events.catalogServiceId&apos;=&apos;53eef207a00d40f8:9a9371a962d39fc9&apos;, &apos;impala.events.catalogVersion&apos;=&apos;156&apos;, &apos;kudu.master_addresses&apos;=&apos;kudu-master1,kudu-master2,kudu-master3&apos;, &apos;kudu.num_tablet_replicas&apos;=&apos;3&apos;) &#xC640; &#xAC19;&#xC774; &#xBC14;&#xB00C;&#xC5B4;&#xC788;&#xC73C;&#xBA74; &#xC131;&#xACF5;</figcaption></figure>]]></content:encoded></item><item><title><![CDATA[GCP Python API 연동 - VM 인스턴스 만들기]]></title><description><![CDATA[<p></p><figure class="kg-card kg-image-card"><img src="https://ignis.kr/content/images/2023/03/image-3.png" class="kg-image" alt loading="lazy" width="671" height="220" srcset="https://ignis.kr/content/images/size/w600/2023/03/image-3.png 600w, https://ignis.kr/content/images/2023/03/image-3.png 671w"></figure><p>AWS&#xC640; &#xB2E4;&#xB974;&#xAC8C; Google&#xC740; &#xAC01; &#xC11C;&#xBE44;&#xC2A4;&#xB9C8;&#xB2E4; api&#xB97C; &#xB2E4;&#xB974;&#xAC8C; &#xB2E4;&#xC6B4;&#xB85C;&#xB4DC; &#xD574;&#xC57C;&#xD55C;&#xB2E4;.<br>VM &#xC778;&#xC2A4;&#xD134;&#xC2A4;&#xB97C; &#xB9CC;&#xB4E4;&#xAE30;&#xC704;&#xD574;&#xC11C;&#xB294; &#xACF5;&#xC2DD; &#xC11C;&#xBE44;&#xC2A4; &#xBA85;&#xC778; Compute Engine &#xC744; &#xC0AC;</p>]]></description><link>https://ignis.kr/gcp-python-api-yeondong/</link><guid isPermaLink="false">6409f3cfefa88fa873fae2dc</guid><dc:creator><![CDATA[gold]]></dc:creator><pubDate>Thu, 09 Mar 2023 16:56:43 GMT</pubDate><content:encoded><![CDATA[<p></p><figure class="kg-card kg-image-card"><img src="https://ignis.kr/content/images/2023/03/image-3.png" class="kg-image" alt loading="lazy" width="671" height="220" srcset="https://ignis.kr/content/images/size/w600/2023/03/image-3.png 600w, https://ignis.kr/content/images/2023/03/image-3.png 671w"></figure><p>AWS&#xC640; &#xB2E4;&#xB974;&#xAC8C; Google&#xC740; &#xAC01; &#xC11C;&#xBE44;&#xC2A4;&#xB9C8;&#xB2E4; api&#xB97C; &#xB2E4;&#xB974;&#xAC8C; &#xB2E4;&#xC6B4;&#xB85C;&#xB4DC; &#xD574;&#xC57C;&#xD55C;&#xB2E4;.<br>VM &#xC778;&#xC2A4;&#xD134;&#xC2A4;&#xB97C; &#xB9CC;&#xB4E4;&#xAE30;&#xC704;&#xD574;&#xC11C;&#xB294; &#xACF5;&#xC2DD; &#xC11C;&#xBE44;&#xC2A4; &#xBA85;&#xC778; Compute Engine &#xC744; &#xC0AC;&#xC6A9;&#xD574;&#xC57C; &#xD558;&#xACE0; &#xB2E4;&#xC6B4;&#xB85C;&#xB4DC;&#xB294; &#xC544;&#xB798;&#xCC98;&#xB7FC; &#xD558;&#xBA74; &#xB41C;&#xB2E4;.</p><p></p><ul><li>1. &#xA0;&#xC77C;&#xB2E8; gcp api &#xB2E4;&#xC6B4;&#xBC1B;&#xAE30;</li></ul><pre><code class="language-bash">pip install virtualenv
virtualenv &lt;your-env&gt;
source &lt;your-env&gt;/bin/activate
&lt;your-env&gt;/bin/pip install google-cloud-compute google-api-python-client</code></pre><p></p><ul><li>2. &#xADF8; &#xB2E4;&#xC74C;&#xC740; API &#xC778;&#xC99D; &#xC815;&#xBCF4;&#xAC00; &#xD544;&#xC694;&#xD558;&#xB2E4;. &#xC544;&#xB798; &#xC808;&#xCC28;&#xB85C; &#xBC1B;&#xC73C;&#xBA74; json&#xD30C;&#xC77C;&#xC774; &#xB098;&#xC628;&#xB2E4;.</li></ul><pre><code class="language-bash">1. Google Cloud &#xCF58;&#xC194;&#xC5D0;&#xC11C; &#xC11C;&#xBE44;&#xC2A4; &#xACC4;&#xC815; &#xD398;&#xC774;&#xC9C0;&#xB85C; &#xC774;&#xB3D9;&#xD569;&#xB2C8;&#xB2E4;.school&#xB098;&#xBA38;&#xC9C0; &#xB2E8;&#xACC4;&#xB294; Google Cloud &#xCF58;&#xC194;&#xC5D0; &#xC790;&#xB3D9;&#xC73C;&#xB85C; &#xD45C;&#xC2DC;&#xB429;&#xB2C8;&#xB2E4;.
2. &#xD504;&#xB85C;&#xC81D;&#xD2B8;&#xB97C; &#xC120;&#xD0DD;&#xD569;&#xB2C8;&#xB2E4;.
3. &#xD0A4;&#xB97C; &#xB9CC;&#xB4E4;&#xB824;&#xB294; &#xC11C;&#xBE44;&#xC2A4; &#xACC4;&#xC815;&#xC758; &#xC774;&#xBA54;&#xC77C; &#xC8FC;&#xC18C;&#xB97C; &#xD074;&#xB9AD;&#xD569;&#xB2C8;&#xB2E4;.
4. &#xD0A4; &#xD0ED;&#xC744; &#xD074;&#xB9AD;&#xD569;&#xB2C8;&#xB2E4;.
5. &#xD0A4; &#xCD94;&#xAC00; &#xB4DC;&#xB86D;&#xB2E4;&#xC6B4; &#xBA54;&#xB274;&#xB97C; &#xD074;&#xB9AD;&#xD55C; &#xD6C4; &#xC0C8; &#xD0A4; &#xB9CC;&#xB4E4;&#xAE30;&#xB97C; &#xC120;&#xD0DD;&#xD569;&#xB2C8;&#xB2E4;.
6. &#xD0A4; &#xC720;&#xD615;&#xC73C;&#xB85C; JSON&#xC744; &#xC120;&#xD0DD;&#xD558;&#xACE0; &#xB9CC;&#xB4E4;&#xAE30;&#xB97C; &#xD074;&#xB9AD;&#xD569;&#xB2C8;&#xB2E4;.</code></pre><p></p><ul><li>3. &#xA0;IAM &#xC5D0;&#xC11C; &#xD574;&#xB2F9; &#xACC4;&#xC815;&#xC5D0; Compute &#xC778;&#xC2A4;&#xD134;&#xC2A4; &#xAD00;&#xB9AC;&#xC790;(v1) &#xAD8C;&#xD55C;&#xC744; &#xBD80;&#xC5EC;&#xD574;&#xC57C;&#xD55C;&#xB2E4;.<br>- <a href="https://console.cloud.google.com/iam-admin/iam?ref=ignis_lab">https://console.cloud.google.com/iam-admin/iam</a></li></ul><p></p><ul><li>4. SSH &#xC811;&#xC18D;&#xC744; &#xC704;&#xD574; &#xD0A4; &#xC0DD;&#xC131;&#xC744; &#xD55C;&#xB2E4;. AWS&#xCC98;&#xB7FC; &#xD0A4; &#xD398;&#xC5B4;&#xB97C; &#xB9CC;&#xB4E4;&#xC5B4;&#xC8FC;&#xC9C0; &#xC54A;&#xB098; &#xBCF4;&#xB2E4;.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://ignis.kr/content/images/2023/03/image-4.png" class="kg-image" alt loading="lazy" width="527" height="343"><figcaption>&#xCC38;&#xACE0; : &#xC774;&#xBBF8; &#xB2E4; &#xD14C;&#xC2A4;&#xD2B8;&#xD558;&#xACE0; &#xC5C6;&#xC5B4;&#xC9C4; RSA &#xD0A4;&#xB2E4;</figcaption></figure><p></p><ul><li>5. &#xA0;&#xADF8;&#xB7EC;&#xBA74; .ssh &#xBC11;&#xC5D0; &#xACF5;&#xAC1C;&#xD0A4;&#xAC00; &#xB098;&#xC628;&#xB2E4; &#xC774; &#xAC12;&#xC744; &#xBCF5;&#xC0AC;&#xD574;&#xC11C;</li></ul><figure class="kg-card kg-image-card"><img src="https://ignis.kr/content/images/2023/03/image-5.png" class="kg-image" alt loading="lazy" width="793" height="103" srcset="https://ignis.kr/content/images/size/w600/2023/03/image-5.png 600w, https://ignis.kr/content/images/2023/03/image-5.png 793w" sizes="(min-width: 720px) 720px"></figure><ul><li>6. &#xA0;compute engine -&gt; &#xBA54;&#xD0C0;&#xB370;&#xC774;&#xD130; -&gt; SSH&#xD0A4; -&gt; &#xCD94;&#xAC00; &#xBC84;&#xD2BC;&#xC744; &#xB20C;&#xB7EC;&#xC11C; &#xB4F1;&#xB85D;&#xD558;&#xBA74; &#xB05D;.</li></ul><figure class="kg-card kg-image-card"><img src="https://ignis.kr/content/images/2023/03/image-12.png" class="kg-image" alt loading="lazy" width="571" height="308"></figure><p><br></p><ul><li>7. &#xC774;&#xC81C; &#xD30C;&#xC774;&#xC36C; &#xCF54;&#xB4DC;&#xB97C; &#xC791;&#xC131;&#xD558;&#xC790; &#xAE30;&#xCD08; &#xC815;&#xBCF4;&#xB97C; &#xC785;&#xB825;&#xD574;&#xC8FC;&#xACE0;</li></ul><pre><code class="language-python3">import paramiko
import time
from google.oauth2 import service_account
from google.cloud import compute_v1
from googleapiclient.discovery import build

# GCP &#xC11C;&#xBE44;&#xC2A4; &#xACC4;&#xC815; &#xC778;&#xC99D; &#xC815;&#xBCF4;&#xB97C; &#xD3EC;&#xD568;&#xD558;&#xB294; &#xD074;&#xB77C;&#xC774;&#xC5B8;&#xD2B8; &#xAC1D;&#xCCB4; &#xC0DD;&#xC131;
credentials = service_account.Credentials.from_service_account_file(&apos;JSON &#xD30C;&#xC77C; &#xC774;&#xB984;&apos;)
compute_client = compute_v1.InstancesClient(credentials=credentials)

# compute &#xB77C;&#xC774;&#xBE0C;&#xB7EC;&#xB9AC;&#xB97C; &#xC0AC;&#xC6A9;
compute = build(&apos;compute&apos;, &apos;v1&apos;, credentials=credentials)

 #&#xC778;&#xC2A4;&#xD134;&#xC2A4; &#xC0DD;&#xC131;
project = &apos;GCP &#xD504;&#xB85C;&#xC81D;&#xD2B8; &#xC774;&#xB984;&#xC744; &#xC785;&#xB825;&#xD558;&#xC138;&#xC694;&apos;
zone = &apos;asia-northeast3-a&apos;  # &#xD55C;&#xAD6D;&#xC740; &#xC694;&#xAC70; &#xC4F0;&#xC2DC;&#xBA74;&#xB429;&#xB2C8;&#xB2E4;. 
instance_type = &apos;e2-medium&apos;
instance_name = &apos;gold-instance-1-1&apos;</code></pre><p></p><ul><li>8. &#xC778;&#xC2A4;&#xD134;&#xC2A4;&#xC758; &#xC124;&#xC815;&#xC744; &#xB9CC;&#xB4E4;&#xACE0; &#xB9CC;&#xB4E0;&#xB2E4;.<br><br>- projects/ubuntu-os-cloud/global/images/ubuntu-2204-jammy-v2023030 &#xC774; &#xC774;&#xBBF8;&#xC9C0;&#xB294; &#xC6B0;&#xBD84;&#xD22C; 22 LTS &#xC774;&#xBBF8;&#xC9C0;&#xB2E4;.</li></ul><pre><code class="language-python3">config = {
    &apos;name&apos;: instance_name,
    &apos;machineType&apos;: f&apos;zones/{zone}/machineTypes/{instance_type}&apos;,
    &apos;disks&apos;: [{
        &apos;boot&apos;: True,
        &apos;autoDelete&apos;: True,
        &apos;initializeParams&apos;: {
            &apos;sourceImage&apos;: f&apos;projects/ubuntu-os-cloud/global/images/ubuntu-2204-jammy-v20230302&apos;,
            &apos;diskSizeGb&apos; : 35
        }
    }],
    &apos;networkInterfaces&apos;: [{
        &apos;network&apos;: &apos;global/networks/default&apos;,
        &apos;accessConfigs&apos;: [{
            &apos;type&apos;: &apos;ONE_TO_ONE_NAT&apos;,
            &apos;name&apos;: &apos;External NAT&apos;
        }]
    }]
}

instance = compute.instances().insert(project=project, zone=zone, body=config).execute()
instance_id = instance[&apos;name&apos;]
print(f&apos;Instance {instance_id} is starting...&apos;)</code></pre><p></p><p>&#xC5EC;&#xAE30;&#xAE4C;&#xC9C0;&#xAC00; &#xC778;&#xC2A4;&#xD134;&#xC2A4; &#xC0DD;&#xC131; &#xB0B4;&#xC6A9;&#xC774;&#xACE0;. &#xC544;&#xB798; &#xBD80;&#xBD84;&#xC740; &#xC0DD;&#xC131; &#xC774;&#xD6C4;&#xC5D0; SSH &#xC811;&#xC18D;&#xC744; &#xD558;&#xC5EC; &#xAC04;&#xB2E8;&#xD55C; &#xBA85;&#xB839;&#xC744; &#xB0A0;&#xB9AC;&#xB294; &#xC608;&#xC81C;&#xC774;&#xB2E4;.</p><p></p><ul><li>9. &#xC778;&#xC2A4;&#xD134;&#xC2A4;&#xB97C; &#xB9CC;&#xB4E0;&#xB2E4;&#xACE0; &#xBC14;&#xB85C; &#xC0AC;&#xC6A9;&#xD560; &#xC218; &#xC788;&#xB294; &#xAC83;&#xC774; &#xC544;&#xB2C8;&#xB2E4;. &#xC0C1;&#xD0DC; &#xCCB4;&#xD06C;&#xB97C; &#xD558;&#xB294; &#xBC18;&#xBCF5;&#xBB38;&#xC744; &#xCD94;&#xAC00;&#xD55C;&#xB2E4;.</li></ul><pre><code class="language-python3">instance = compute.instances().insert(project=project, zone=zone, body=config).execute()
instance_id = instance[&apos;name&apos;]
print(f&apos;Instance {instance_id} is starting...&apos;)

# &#xC778;&#xC2A4;&#xD134;&#xC2A4; &#xC0C1;&#xD0DC;&#xB97C; &#xD655;&#xC778;&#xD569;&#xB2C8;&#xB2E4;.
status = None
while status != &apos;RUNNING&apos;:
    time.sleep(5)
    instance = compute.instances().get(
        project=project,
        zone=zone,
        instance=instance_name).execute()
    status = instance[&apos;status&apos;]
    print(f&apos;Instance status: {status}&apos;)

print(&apos;Instance is running&apos;)</code></pre><p></p><ul><li>10. &#xC778;&#xC2A4;&#xD134;&#xC2A4;&#xAC00; &#xA0;&#xB2E4; &#xCF1C;&#xC84C;&#xB2E4;&#xBA74; &#xC811;&#xC18D;&#xD558;&#xAE30; &#xC704;&#xD55C; &#xACF5;&#xC778; ip&#xB97C; &#xBD88;&#xB7EC;&#xC624;&#xC790;</li></ul><pre><code class="language-python3">instance = compute.instances().get(project=project, zone=zone, instance=instance_name).execute()
network_interface = instance[&apos;networkInterfaces&apos;][0]
access_config = network_interface[&apos;accessConfigs&apos;][0]
public_ip = access_config[&apos;natIP&apos;]
print(f&apos;Instance Public IP is {public_ip}&apos;)
</code></pre><p></p><ul><li>11. SSH &#xC5F0;&#xACB0;&#xC744; &#xD574;&#xC11C; ls -al &#xACB0;&#xACFC;&#xB97C; &#xBD88;&#xB7EC;&#xBCF4;&#xC790;.</li></ul><pre><code class="language-python3">max_retries = 5
retry_delay = 5

ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())

# Connect with retry
for retry_count in range(max_retries):
    try:
        ssh.connect(hostname=public_ip, username=&apos;gold&apos;, key_filename=&apos;&#xC544;&#xAE4C; &#xB9CC;&#xB4E0; Private &#xD0A4; &#xACBD;&#xB85C;&apos;)
        break
    except :
        print(f&apos;Failed to connect to {public_ip}  Retrying in {retry_delay} seconds...&apos;)
        time.sleep(retry_delay)


stdin, stdout, stderr = ssh.exec_command(&apos;ls -al&apos;)
result = stdout.read().decode()
# &#xACB0;&#xACFC; &#xCD9C;&#xB825;
print(result)
stdin, stdout, stderr = ssh.exec_command(&apos;ls -al&apos;)
result = stdout.read().decode()

# &#xACB0;&#xACFC; &#xCD9C;&#xB825;
print(result)

# SSH &#xC5F0;&#xACB0; &#xC885;&#xB8CC;
ssh.close()</code></pre><p></p><p>&#xC0DD;&#xC131;&#xBD80;&#xD130; &#xBA85;&#xB839;&#xC5B4; &#xC785;&#xB825;&#xAE4C;&#xC9C0; &#xC774;&#xC5B4;&#xC11C; &#xC2E4;&#xD589;&#xD558;&#xBA74; &#xC774;&#xB807;&#xAC8C; &#xB41C;&#xB2E4;.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://ignis.kr/content/images/2023/03/image-13.png" class="kg-image" alt loading="lazy" width="1046" height="633" srcset="https://ignis.kr/content/images/size/w600/2023/03/image-13.png 600w, https://ignis.kr/content/images/size/w1000/2023/03/image-13.png 1000w, https://ignis.kr/content/images/2023/03/image-13.png 1046w" sizes="(min-width: 720px) 720px"><figcaption>&#xC798;&#xB41C;&#xB2E4;!</figcaption></figure><p></p><ul><li>12. &#xC0AD;&#xC81C;&#xD558;&#xACE0;&#xC2F6;&#xB2E4;&#xBA74; </li></ul><pre><code class="language-python3"># &#xC778;&#xC2A4;&#xD134;&#xC2A4; &#xC0AD;&#xC81C; 
operation = compute.instances().delete(
    project=project,
    zone=zone,
    instance=instance_name).execute()

print(f&apos;Instance deletion initiated: {operation[&quot;name&quot;]}&apos;)</code></pre><p></p><p></p><p>&#xB05D;.</p>]]></content:encoded></item><item><title><![CDATA[AWS Python SDK 연동 - EC2인스턴스 만들기]]></title><description><![CDATA[<p></p><p>AWS&#xC5D0;&#xC11C;&#xB294; &#xACF5;&#xC2DD; SDK&#xC778; Boto3&#xB97C; &#xC9C0;&#xC6D0;&#xD55C;&#xB2E4;.</p><figure class="kg-card kg-image-card"><img src="https://ignis.kr/content/images/2023/03/image.png" class="kg-image" alt loading="lazy" width="966" height="364" srcset="https://ignis.kr/content/images/size/w600/2023/03/image.png 600w, https://ignis.kr/content/images/2023/03/image.png 966w" sizes="(min-width: 720px) 720px"></figure><pre><code class="language-bash">[ec2-user@ip-172-31-20-231 ~]$ pip3 install boto3
Defaulting to user installation because normal site-packages is not writeable
Collecting boto3
  Downloading boto3-1.26.87-py3-none-any.whl (134 kB)
     |&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;</code></pre>]]></description><link>https://ignis.kr/aws-python-sdk-yeondong/</link><guid isPermaLink="false">6409ccf1e8ef550ab648dcc4</guid><dc:creator><![CDATA[gold]]></dc:creator><pubDate>Thu, 09 Mar 2023 13:21:12 GMT</pubDate><content:encoded><![CDATA[<p></p><p>AWS&#xC5D0;&#xC11C;&#xB294; &#xACF5;&#xC2DD; SDK&#xC778; Boto3&#xB97C; &#xC9C0;&#xC6D0;&#xD55C;&#xB2E4;.</p><figure class="kg-card kg-image-card"><img src="https://ignis.kr/content/images/2023/03/image.png" class="kg-image" alt loading="lazy" width="966" height="364" srcset="https://ignis.kr/content/images/size/w600/2023/03/image.png 600w, https://ignis.kr/content/images/2023/03/image.png 966w" sizes="(min-width: 720px) 720px"></figure><pre><code class="language-bash">[ec2-user@ip-172-31-20-231 ~]$ pip3 install boto3
Defaulting to user installation because normal site-packages is not writeable
Collecting boto3
  Downloading boto3-1.26.87-py3-none-any.whl (134 kB)
     |&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;| 134 kB 26.4 MB/s
Collecting s3transfer&lt;0.7.0,&gt;=0.6.0
  Downloading s3transfer-0.6.0-py3-none-any.whl (79 kB)
     |&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;| 79 kB 14.9 MB/s
Collecting botocore&lt;1.30.0,&gt;=1.29.87
  Downloading botocore-1.29.87-py3-none-any.whl (10.5 MB)
     |&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;&#x2588;| 10.5 MB 55.3 MB/s
Collecting jmespath&lt;2.0.0,&gt;=0.7.1
  Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
Requirement already satisfied: python-dateutil&lt;3.0.0,&gt;=2.1 in ./.local/lib/python3.7/site-packages (from botocore&lt;1.30.0,&gt;=1.29.87-&gt;boto3) (2.8.2)
Requirement already satisfied: urllib3&lt;1.27,&gt;=1.25.4 in ./.local/lib/python3.7/site-packages (from botocore&lt;1.30.0,&gt;=1.29.87-&gt;boto3) (1.26.14)
Requirement already satisfied: six&gt;=1.5 in ./.local/lib/python3.7/site-packages (from python-dateutil&lt;3.0.0,&gt;=2.1-&gt;botocore&lt;1.30.0,&gt;=1.29.87-&gt;boto3) (1.16.0)
Installing collected packages: jmespath, botocore, s3transfer, boto3
Successfully installed boto3-1.26.87 botocore-1.29.87 jmespath-1.0.1 s3transfer-0.6.0
</code></pre><p></p><ol><li>Access Key &#xBC1C;&#xAE09;&#xBC1B;&#xAE30;<br>- aws &#xBA54;&#xB274; -&gt; &#xBCF4;&#xC548; &#xC790;&#xACA9; &#xC99D;&#xBA85;&#xC5D0; &#xBCF4;&#xBA74; Access Key&#xB97C; &#xBC1C;&#xAE09;&#xD558;&#xB294; &#xBC84;&#xD2BC;&#xC774; &#xC788;&#xB2E4;.<br>- &#xB2F9;&#xC5F0;&#xD788; &#xC720;&#xCD9C;&#xB418;&#xBA74; &#xD070;&#xC77C; &#xB098;&#xB2C8;&#xAE4C; &#xC798; &#xBCF4;&#xAD00;&#xD558;&#xB3C4;&#xB85D;.<br></li><li>AWS Configure<br>- boto3&#xB97C; &#xC124;&#xCE58;&#xD55C; &#xCEF4;&#xD4E8;&#xD130;&#xC5D0;&#xC11C; aws configure &#xB97C; &#xC2E4;&#xD589;&#xD558;&#xBA74;, &#xC704;&#xC5D0;&#xC11C; &#xBC1B;&#xC740; &#xCF54;&#xB4DC;&#xB4E4;&#xC774; &#xB098;&#xC628;&#xB2E4;. &#xA0;<br>- &#xC18C;&#xC2A4;&#xC5D0; &#xC778;&#xC99D; &#xC815;&#xBCF4;&#xB97C; &#xB0A8;&#xAE30;&#xC9C0; &#xC54A;&#xAE30; &#xC704;&#xD568;&#xC774;&#xB2E4;.<br></li><li>&#xB9AC;&#xC804; &#xC774;&#xB984; &#xCC3E;&#xAE30;<br>- &#xD55C;&#xAD6D;&#xC740; ap-northeast-2 &#xC774;&#xB2E4;. <br></li><li> AMI &#xC774;&#xBBF8;&#xC9C0; ID &#xCC3E;&#xAE30;<br>- AMI&#xB294; Amazon Machine Image &#xC758; &#xC57D;&#xC5B4;&#xC778;&#xB370;, OS &#xC774;&#xBBF8;&#xC9C0;&#xB77C;&#xACE0; &#xBCF4;&#xBA74; &#xB41C;&#xB2E4;.</li></ol><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://ignis.kr/content/images/2023/03/image-2.png" class="kg-image" alt loading="lazy" width="803" height="496" srcset="https://ignis.kr/content/images/size/w600/2023/03/image-2.png 600w, https://ignis.kr/content/images/2023/03/image-2.png 803w" sizes="(min-width: 720px) 720px"><figcaption>&#xC774;&#xAC70; &#xC4F0;&#xC9C0; &#xB9D0;&#xACE0; &#xC544;&#xB798; &#xC124;&#xBA85;&#xC5D0;&#xC11C; &#xCC3E;&#xC544;&#xC11C; &#xBCF5;&#xC0AC;&#xD574;&#xC11C; &#xBD99;&#xC5EC; &#xB123;&#xAE30;&#xB97C;&#xA0;</figcaption></figure><p>&#xC544;&#xB798; &#xC0AC;&#xC774;&#xD2B8;&#xC5D0;&#xC11C; AMI &#xC774;&#xBBF8;&#xC9C0;&#xC758; ID&#xB97C; &#xCC3E;&#xC744; &#xC218; &#xC788;&#xB2E4;.</p><div class="kg-card kg-callout-card kg-callout-card-blue"><div class="kg-callout-emoji">&#x1F4A1;</div><div class="kg-callout-text">https://cloud-images.ubuntu.com/locator/ec2/</div></div><figure class="kg-card kg-image-card"><img src="https://ignis.kr/content/images/2023/03/image-1.png" class="kg-image" alt loading="lazy" width="1132" height="495" srcset="https://ignis.kr/content/images/size/w600/2023/03/image-1.png 600w, https://ignis.kr/content/images/size/w1000/2023/03/image-1.png 1000w, https://ignis.kr/content/images/2023/03/image-1.png 1132w" sizes="(min-width: 720px) 720px"></figure><p>amd64&#xC758; &#xC774;&#xBBF8;&#xC9C0;&#xB294; ami-034000b759564de42<br>ARM &#xC774;&#xBBF8;&#xC9C0;&#xB294; ami-0084ff4520f7fd92a &#xC774;&#xB2E4;</p><p>&#xC900;&#xBE44;&#xB294; &#xB05D;&#xB0AC;&#xB2E4;. &#xA0;&#xD30C;&#xC774;&#xC36C; &#xCF54;&#xB4DC;&#xB97C; &#xC791;&#xC131;&#xD558;&#xC790;</p><pre><code class="language-python3">import boto3

ec2 = boto3.client(&apos;ec2&apos;)

# EC2 &#xC778;&#xC2A4;&#xD134;&#xC2A4; &#xC0DD;&#xC131;
response = ec2.run_instances(
    ImageId=&apos;ami-034000b759564de42&apos;, 
    InstanceType=&apos;t2.micro&apos;,
    KeyName=&apos;SDK_TEST&apos;, # EC2 Key Pair &#xC774;&#xB984;
    MinCount=1,
    MaxCount=1
)

# EC2 &#xC778;&#xC2A4;&#xD134;&#xC2A4; ID &#xCD9C;&#xB825;
print(&apos;EC2 Instance ID:&apos;, response[&apos;Instances&apos;][0][&apos;InstanceId&apos;])</code></pre><p>&#xC0AD;&#xC81C;&#xB294; &#xC544;&#xB798;&#xCC98;&#xB7FC; &#xD558;&#xBA74; &#xB41C;&#xB2E4;.</p><pre><code class="language-python3">instance_id = &apos;i-072d3495531ff1a76&apos;

# EC2 &#xC778;&#xC2A4;&#xD134;&#xC2A4; &#xC0AD;&#xC81C;
ec2.terminate_instances(InstanceIds=[instance_id])

print(f&apos;Instance {instance_id} has been terminated.&apos;)</code></pre><p>&#xAE54;&#xB054;...</p>]]></content:encoded></item><item><title><![CDATA[ubuntu 스왑 메모리 추가]]></title><description><![CDATA[<p></p><p>&#xBA54;&#xBAA8;&#xB9AC;&#xAC00; &#xBD80;&#xC871;&#xD55C;&#xB370;, swap&#xC774; 0&#xC73C;&#xB85C; &#xC124;&#xC815;&#xB418;&#xC5B4;&#xC788;&#xC5B4;&#xC11C; &#xBD88;&#xC548;&#xD55C; &#xC0C1;&#xD669;</p><pre><code class="language-bash">ubuntu@ubuntu:/home/gold$ free -h
               total        used        free      shared  buff/cache   available
Mem:           964Mi       754Mi        71Mi       1.0Mi       137Mi        65Mi
Swap:             0B          0B          0B</code></pre>]]></description><link>https://ignis.kr/ubuntu-seuwab-memori-cuga/</link><guid isPermaLink="false">6401a657c2002070967fa5ca</guid><dc:creator><![CDATA[gold]]></dc:creator><pubDate>Fri, 03 Mar 2023 07:51:44 GMT</pubDate><content:encoded><![CDATA[<p></p><p>&#xBA54;&#xBAA8;&#xB9AC;&#xAC00; &#xBD80;&#xC871;&#xD55C;&#xB370;, swap&#xC774; 0&#xC73C;&#xB85C; &#xC124;&#xC815;&#xB418;&#xC5B4;&#xC788;&#xC5B4;&#xC11C; &#xBD88;&#xC548;&#xD55C; &#xC0C1;&#xD669;</p><pre><code class="language-bash">ubuntu@ubuntu:/home/gold$ free -h
               total        used        free      shared  buff/cache   available
Mem:           964Mi       754Mi        71Mi       1.0Mi       137Mi        65Mi
Swap:             0B          0B          0B</code></pre><p></p><p>&#xC2A4;&#xC651;&#xC744; &#xCD94;&#xAC00;&#xD558;&#xB294; &#xBC29;&#xBC95;&#xC740; &#xC544;&#xB798;&#xC640; &#xAC19;&#xB2E4;.<br>1. sudo fallocate -l 2G /swapfile<br>2. sudo chmod 600 /swapfile<br>3. sudo mkswap /swapfile<br>4. sudo swapon /swapfile</p><p>&#xCD94;&#xAC00; &#xD6C4;, &#xA0;free -h &#xBA85;&#xB839;&#xC73C;&#xB85C; swap&#xC774; &#xCD94;&#xAC00;&#xB41C; &#xAC83;&#xC744; &#xD655;&#xC778;&#xD574;&#xBCF4;&#xC790;.</p><pre><code class="language-bash">ubuntu@ubuntu:/home/gold$ sudo fallocate -l 2G /swapfile
ubuntu@ubuntu:/home/gold$ sudo chmod 600 /swapfile
ubuntu@ubuntu:/home/gold$ sudo mkswap /swapfile
Setting up swapspace version 1, size = 2 GiB (2147479552 bytes)
no label, UUID=f05e6064-0af0-4f05-8700-a5ac9a27203b
ubuntu@ubuntu:/home/gold$ sudo swapon /swapfile
ubuntu@ubuntu:/home/gold$
ubuntu@ubuntu:/home/gold$ free -h
               total        used        free      shared  buff/cache   available
Mem:           964Mi       754Mi        71Mi       1.0Mi       137Mi        65Mi
Swap:          2.0Gi          0B       2.0Gi</code></pre><p></p><p>5. &#xC7AC;&#xBD80;&#xD305; &#xD6C4;&#xC5D0; &#xC790;&#xB3D9;&#xC73C;&#xB85C; swap&#xC774; &#xB4F1;&#xB85D; &#xB420; &#xC218; &#xC788;&#xB3C4;&#xB85D; /etc/fstab&#xC5D0; &#xCD94;&#xAC00;&#xD55C;&#xB2E4;.</p><pre><code class="language-bash">LABEL=cloudimg-rootfs   /        ext4   discard,errors=remount-ro       0 1
LABEL=UEFI      /boot/efi       vfat    umask=0077      0 1

# SWAP &#xCD94;&#xAC00;
/swapfile none swap sw 0 0
</code></pre>]]></content:encoded></item><item><title><![CDATA[Test AA]]></title><description><![CDATA[<p></p><hr><pre><code class="language-java">public static void main(){

}</code></pre><p>&#xD14C;&#xC2A4;&#xD2B8; &#xD14C;&#xC2A4;&#xD2B8;</p><p>test<br>test</p><ol><li>dsd</li><li>dsds</li></ol><ul><li>fssa</li><li>dsd</li></ul><hr><pre><code class="language-bash">root@ubuntu-blog:~# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 25
Server version: 8.0.32-0ubuntu0.22.04.2 (Ubuntu)

Copyright (c) 2000, 2023, Oracle and/</code></pre>]]></description><link>https://ignis.kr/test-aa/</link><guid isPermaLink="false">6401991fc2002070967fa587</guid><dc:creator><![CDATA[gold]]></dc:creator><pubDate>Fri, 03 Mar 2023 06:59:50 GMT</pubDate><content:encoded><![CDATA[<p></p><hr><pre><code class="language-java">public static void main(){

}</code></pre><p>&#xD14C;&#xC2A4;&#xD2B8; &#xD14C;&#xC2A4;&#xD2B8;</p><p>test<br>test</p><ol><li>dsd</li><li>dsds</li></ol><ul><li>fssa</li><li>dsd</li></ul><hr><pre><code class="language-bash">root@ubuntu-blog:~# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 25
Server version: 8.0.32-0ubuntu0.22.04.2 (Ubuntu)

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type &apos;help;&apos; or &apos;\h&apos; for help. Type &apos;\c&apos; to clear the current input statement.

mysql&gt; create database ignis_prod
    -&gt; ;
Query OK, 1 row affected (0.02 sec)
</code></pre><p></p><pre><code class="language-csharp">int main(void){
}</code></pre>]]></content:encoded></item><item><title><![CDATA[Coming soon]]></title><description><![CDATA[<p>This is IGNIS_LAB, a brand new site by gold that&apos;s just getting started. Things will be up and running here shortly, but you can <a href="#/portal/">subscribe</a> in the meantime if you&apos;d like to stay up to date and receive emails when new content is published!</p>]]></description><link>https://ignis.kr/coming-soon/</link><guid isPermaLink="false">64019398c2002070967fa3e6</guid><category><![CDATA[News]]></category><dc:creator><![CDATA[gold]]></dc:creator><pubDate>Fri, 03 Mar 2023 06:28:40 GMT</pubDate><media:content url="https://static.ghost.org/v4.0.0/images/feature-image.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://static.ghost.org/v4.0.0/images/feature-image.jpg" alt="Coming soon"><p>This is IGNIS_LAB, a brand new site by gold that&apos;s just getting started. Things will be up and running here shortly, but you can <a href="#/portal/">subscribe</a> in the meantime if you&apos;d like to stay up to date and receive emails when new content is published!</p>]]></content:encoded></item></channel></rss>