<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>cloud on Suriya's site</title><link>https://subygan.com/tech/cloud/</link><description>Recent content in cloud on Suriya's site</description><generator>Hugo</generator><language>en</language><copyright>This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</copyright><item><title>unix</title><link>https://subygan.com/tech/cloud/unix/</link><pubDate>Mon, 19 Aug 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/cloud/unix/</guid><description>&lt;p>If you are on a unix-like environment, ports &amp;lt; 1024 (like 80) will require superuser privileges.&lt;/p>
&lt;h2 id="disk-mounting-and-unmounting">disk mounting and unmounting&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>sudo mount -o discard,defaults &amp;lt;diskid&amp;gt; &amp;lt;dir&amp;gt;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>you can get the disk id by&lt;/p></description></item><item><title>vim</title><link>https://subygan.com/tech/cloud/vi/</link><pubDate>Thu, 15 Aug 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/cloud/vi/</guid><description>&lt;p>Vim stuff that I usually use and generally forget&lt;/p>
&lt;p>clear file &lt;code>gg&lt;/code> do go to top of file then, &lt;code>dG&lt;/code> do delete till the end&lt;/p></description></item><item><title>my stack</title><link>https://subygan.com/tech/cloud/my_stack/</link><pubDate>Mon, 15 Jul 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/cloud/my_stack/</guid><description>&lt;p>I used to deploy everything in an ec2 instance with docker-compose and nginx. Keeps it clean to apply small updates and also take backups. Where I&amp;rsquo;ll run different postgres containers for different containers, with some volume mapping and a backup container that triggers a backup push.&lt;/p></description></item><item><title>batch processing llm inference</title><link>https://subygan.com/tech/cloud/batch_processing_llm/</link><pubDate>Sun, 14 Jul 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/cloud/batch_processing_llm/</guid><description>&lt;p>I experimented with a lot of models, and as advertised claude3-haiku gave the best results, in terms of quality and cost. At the time of writing 1K input tokens cost $0.00025. Which is mind blowingly cheap, because the next best model was about 8 times costlier not to mention gpt 4o which was about 20 times costlier.&lt;/p></description></item><item><title>aws</title><link>https://subygan.com/tech/cloud/aws/</link><pubDate>Sun, 25 Feb 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/cloud/aws/</guid><description>&lt;h3 id="amazon-linux">amazon linux&lt;/h3>
&lt;p>Does not use &lt;code>apt-get&lt;/code> and only uses yum.
replace all &lt;code>apt-get&lt;/code> with yum&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>sudo systemctl enable docker.service
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>sudo systemctl start docker.service
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>kafka</title><link>https://subygan.com/tech/cloud/kafka/</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/cloud/kafka/</guid><description>&lt;h2 id="apache-kafka">apache kafka&lt;/h2>
&lt;p>&lt;strong>event streaming platform&lt;/strong>&lt;/p>
&lt;ul>
&lt;li>&lt;em>Events?&lt;/em> - incident of change&lt;/li>
&lt;/ul>
&lt;h3 id="kafka-and-events---keyvalue-pairs">kafka and events - key/value pairs&lt;/h3>
&lt;p>based on &lt;strong>Distributed commit log&lt;/strong>&lt;/p></description></item><item><title>aws ses</title><link>https://subygan.com/tech/cloud/aws_ses/</link><pubDate>Sat, 17 Sep 2022 14:14:11 +0000</pubDate><guid>https://subygan.com/tech/cloud/aws_ses/</guid><description>&lt;p>In Sandbox mode, mail can be sent only to verified emails. We need permission for that specific address.&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://docs.aws.amazon.com/ses/latest/dg/request-production-access.html">https://docs.aws.amazon.com/ses/latest/dg/request-production-access.html&lt;/a>
&lt;/li>
&lt;/ul></description></item></channel></rss>