<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Denisse Damian on Medium]]></title>
        <description><![CDATA[Stories by Denisse Damian on Medium]]></description>
        <link>https://medium.com/@denissedamian?source=rss-25ac2800474------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rcA1Q6jOjPjjfs-a</url>
            <title>Stories by Denisse Damian on Medium</title>
            <link>https://medium.com/@denissedamian?source=rss-25ac2800474------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 03:45:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@denissedamian/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building a Foundation: Mastering Initial AWS Setup for Long-Term Success]]></title>
            <link>https://aws.plainenglish.io/building-a-foundation-mastering-initial-aws-setup-for-long-term-success-ba1af039c378?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba1af039c378</guid>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Tue, 28 Nov 2023 06:17:48 GMT</pubDate>
            <atom:updated>2024-02-12T01:48:13.378Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Xqysjr2H8Dwpvkgv" /><figcaption>Photo by <a href="https://unsplash.com/@cgower?utm_source=medium&amp;utm_medium=referral">Christopher Gower</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Starting a new project on Amazon Web Services (AWS) can be a thrilling experience, filled with excitement and possibilities. However, the real challenge arises when it’s time to scale or bring new developers into your AWS account. What may have started as a “fast and dirty” approach in the initial stages can quickly transform into a “slow and dirty” situation as the project expands. While it might seem like getting things done quickly in the beginning is the key, the lack of a solid foundation can impede progress as the project grows.</p><p>Establishing the right practices from the project’s inception is crucial. Although it may feel like a slowdown initially, having a solid foundation becomes the cornerstone for efficiency and agility as the project evolves. In this article, we will explore the most common pitfalls in AWS projects and provide insights into how to avoid them.</p><h3>IAM roles and permissions</h3><p>IAM is the AWS service that allows you to give permissions to users, other AWS Services, or third-party services. As a fun fact, this is the only service from AWS that is always free 🤑. However, messing up the setup of this service can end up costing you not only time but also a security breach. Therefore is of most importance that you do this right. The most common mistake when setting up an account is to give regular users, <em>God </em>powers, which in AWS terms means Admin permissions. There are a couple of best practices you can implement in the first stages of your project that will allow you to more comfortably scale and add more users without compromising your data or resources.</p><p>The <a href="https://www.paloaltonetworks.com/cyberpedia/what-is-the-principle-of-least-privilege">principle of least privilege</a> is to only give a user or entity (another AWS service, a third-party library) should only have access to the specific data, resources, and applications needed to execute the required task. Implementing this principle might feel tedious in the beginning as it requires planning and fine-tuning permissions. However, the extra effort pays off in enhanced security and a more manageable AWS environment.</p><p>Now, let’s dig into some essential best practices that can guide you in setting up robust IAM roles and permissions:</p><h4>Create IAM Roles Strategically:</h4><p>When assigning permissions, opt for IAM roles that are managed by AWS over direct permissions for individual users. This allows for a more structured and scalable approach, especially as your project grows.</p><h4>Group Users According to Job Functions:</h4><p>Organize users into IAM groups based on their job responsibilities. Assign policies to these groups, streamlining the management of permissions for multiple users with similar roles. Even if you currently have only one person per group, exercise structuring for how and where your project is going to grow.</p><h4>Tag wisely:</h4><p>The best-kept secret — you can control access based on tags, so tag wisely. Ensure consistency with tags across your resources, and bear in mind that they are case-sensitive. By adhering to these practices, you can assign a tag and condition, letting <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-services-that-work-with-iam.html">AWS determine access permissions.</a></p><h4>Limit the Use of the Root Account:</h4><p>Minimize the use of the root AWS account for routine tasks. Instead, create individual IAM users for day-to-day operations and reserve the root account for initial setup and emergencies.</p><h4>Regularly Review and Adjust Permissions:</h4><p>While it’s tempting to set and forget, unused applications can serve as potential entry points for hackers to infiltrate your account. To prevent this, conduct periodic reviews of IAM permissions, ensuring they remain both relevant and appropriate. Promptly remove any unnecessary permissions to adhere steadfastly to the principle of least privilege. Regular diligence in adjusting permissions is not just a security measure; it’s a proactive strategy to safeguard your AWS environment against evolving threats.</p><h3>Networking correctly</h3><p>Every time I set up a Virtual Private Network (VPN) I face-palm 🤦‍♀️ myself for not paying enough attention to my Network undergrad class. So, if you are like me and possibly slept through these classes, I’ll give you some easy tips to implement in your account to avoid being hacked and give your AWS account some space to scale.</p><h4>Public and Private Subnets:</h4><p>Clearly define and separate public and private subnets. Allocate resources such as web servers to public subnets and house databases in private subnets. Employ Network Access Control Lists (NACLs) and Security Groups to regulate traffic between them. As a rule of thumb, it is advisable to refrain from allowing your application direct access to the public; instead, channel it through controlled and secure methods. This practice enhances the security posture of your network architecture.</p><h4>Internet Gateway and NAT Gateway:</h4><p>Attach an Internet Gateway to allow resources in public subnets to communicate with the Internet. Use a Network Address Translation (NAT) Gateway for private subnets to access the internet while remaining secure.</p><h4>Bastion Host:</h4><p>Use a <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/tutorials-private-network-bastion.html">bastion host</a> for secure access to instances in private subnets. This hardened and monitored instance acts as a gateway for SSH or RDP connections, adding an additional layer of security.</p><h4>Security Groups:</h4><p>Implement Security Groups to control inbound and outbound traffic to your instances. The best way to do so is to also follow the principle of least privileges just as we did with IAM roles.</p><h4>Diagram your network</h4><p>This might feel like you are going the extra mile, but I promise you, it&#39;s worth it. Having a diagram of your network allows you to visualize everything that is happening inside your account. My favorite tools to draw a diagram include <a href="https://www.lucidchart.com/">Lucidchart</a> and <a href="https://diagrams.mingrammer.com/">Diagrams as Code</a>.</p><h3>Future Steps</h3><p>Once you have a solid setup for your AWS account, there are a few recommendations of what your next steps can be:</p><ul><li><a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ConsoleAlarms.html">Setting up alarm</a>s: Consider configuring alarms, especially if you are on the Free Tier plan. This immediate next step ensures that you are promptly notified of any unusual activities, exceeding your Free Tier usage or potential issues within your AWS environment.</li><li><a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_GettingStarted.html">Setting up logging</a>: Once you’ve configured logs for your AWS services, these logs become your go-to source for troubleshooting, vigilant monitoring of operations, and ensuring a secure and compliant environment.</li></ul><p>In conclusion, establishing a robust initial setup in AWS, particularly focusing on strong IAM configurations and meticulous networking, is not merely a checklist — it’s the recipe for future success. A well-designed IAM framework and a secure, well-architected network form the bedrock of your AWS environment. This foundation not only enhances security and operational efficiency but also paves the way for seamless scalability and adaptability as your project evolves. Consider these initial steps as an investment in the resilience and longevity of your AWS deployment, ensuring that your infrastructure is not just functional today but well-prepared for the challenges and opportunities that tomorrow may bring.</p><p><em>Found this article useful? Connect with me on </em><a href="https://www.linkedin.com/in/denisse-damian/"><em>Linkedin</em></a><em> and join my </em><a href="https://embeds.beehiiv.com/c0c86fd1-8c00-4330-a12c-480493953ee8"><em>newsletter</em></a><em> where I post LeetCode questions and Job Interview Tips!! I post useful tips on AWS, interview strategies, and more!</em></p><h3><a href="https://plainenglish.io/">PlainEnglish.io</a> 🚀</h3><p><em>Thank you for being a part of the In Plain English community! Before you go:</em></p><ul><li><em>Be sure to </em><strong><em>clap</em></strong><em> and </em><strong><em>follow</em></strong><em> the writer</em><strong>️</strong></li><li><em>Learn how you can also </em><a href="https://plainenglish.io/blog/how-to-write-for-in-plain-english"><strong><em>write for In Plain English</em></strong></a><em>️</em></li><li><em>Follow us: </em><a href="https://twitter.com/inPlainEngHQ"><strong><em>X</em></strong></a><strong><em> | </em></strong><a href="https://www.linkedin.com/company/inplainenglish/"><strong><em>LinkedIn</em></strong></a><strong><em> | </em></strong><a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong><em>YouTube</em></strong></a><strong><em> | </em></strong><a href="https://discord.gg/in-plain-english-709094664682340443"><strong><em>Discord</em></strong></a><strong><em> | </em></strong><a href="https://newsletter.plainenglish.io/"><strong><em>Newsletter</em></strong></a></li><li><em>Visit our other platforms: </em><a href="https://stackademic.com/"><strong><em>Stackademic</em></strong></a><strong><em> | </em></strong><a href="https://cofeed.app/"><strong><em>CoFeed</em></strong></a><strong><em> | </em></strong><a href="https://venturemagazine.net/"><strong><em>Venture</em></strong></a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba1af039c378" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/building-a-foundation-mastering-initial-aws-setup-for-long-term-success-ba1af039c378">Building a Foundation: Mastering Initial AWS Setup for Long-Term Success</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ditch the Layers: Exploring the Benefits of Dockerized AWS Lambda]]></title>
            <link>https://aws.plainenglish.io/ditch-the-layers-exploring-the-benefits-of-dockerized-aws-lambda-775ffa1b4005?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/775ffa1b4005</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Mon, 16 Oct 2023 12:16:38 GMT</pubDate>
            <atom:updated>2024-02-12T01:47:34.049Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kJtSMpD6ShgwQH0a" /><figcaption>Photo by <a href="https://unsplash.com/@mrpeker?utm_source=medium&amp;utm_medium=referral">Mehmet Ali Peker</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>AWS Lambda has been a game-changer in cloud computing, offering seamless serverless code execution. However, as applications grow in complexity, managing dependencies with Lambda Layers can be a headache.</p><p>Lambda Layers, though handy, are not always the easiest to work with. Managing and updating layers for various functions can get messy, and there’s also a limit on the total size of all layers used per AWS account.</p><p>Enter: Docker 🐳 . AWS now supports container images for Lambda, developers can package and deploy functions as Docker images. This not only simplifies dependency management but also streamlines deployment. Your function gets its own isolated, consistent environment with all its dependency needs met, neatly packaged into a single Docker image.</p><p>Still not convinced about Dockerizing your Lambda? Let’s dive into a side-by-side comparison!</p><h3>Docker vs. Lambda Layers: A Comparison</h3><p>When comparing Docker against Lambda Layers, it’s crucial to consider various factors that might influence your decision. Below we provide a comparison to help you choose wisely.</p><h4><strong>Ease of Deployment:</strong></h4><ul><li>Docker: It’s all about simplicity. Deploy a single image, and you’re done. You can even deploy the same Docker image to different AWS accounts.</li><li>Lambda Layers: Deployment can be tricky, requiring careful management of different layers and their respective versions.</li></ul><h4>Size Limitations:</h4><ul><li>Docker: Generous size allowances, <a href="https://aws.amazon.com/blogs/compute/working-with-lambda-layers-and-extensions-in-container-images/#:~:text=Lambda%20functions%20built%20using%20container,AWS%20container%20image%20registry%20service.">with up to 10 GB for Docker images on AWS Lambda</a>.</li><li>Lambda Layers: Mind the size! <a href="https://lumigo.io/aws-lambda-performance-optimization/aws-lambda-limits/#:~:text=AWS%20Lambda%20Deployment%20Package,-AWS%20Lambda%20size&amp;text=If%20you%20use%20layers%2C%20you,to%20contain%20short%20logical%20code.">The maximum package size is 250 MB.</a></li></ul><h4>Portability:</h4><ul><li>Docker: Run your functions wherever Docker is supported, providing unmatched versatility across different environments.</li><li>Lambda Layers: You’re tied to the AWS ecosystem, which might limit your options if you wish to run your function elsewhere.</li></ul><h4>Cold Start Performance:</h4><ul><li>Docker: Docker containers might experience slightly slower cold start times due to the overhead of initiating a container. However, this difference is often negligible for most use cases.</li><li>Lambda Layers: Generally, Lambda Layers may have faster cold start times. However, this can vary depending on the complexity and size of the layers in use.</li></ul><h3>Steps to Dockerize Lambda Function</h3><p><strong>Prerequisites:</strong></p><ul><li>AWS account and AWS CLI installed</li><li>Basic knowledge of Docker and AWS Lambda</li><li>Node.js (or any other runtime supported by AWS Lambda) installed on your local machine</li></ul><p><strong>Dockerizing the Lambda Function</strong></p><p>1. Create a new folder for your Lambda function:</p><pre>mkdir my-docker-lambda-function<br>cd my-docker-lambda-function</pre><p>2. Create a file for your Lambda function, e.g., index.js:</p><pre>touch index.js</pre><p>Let’s add some code to our index.js file, since the purpose of Dockerizing our Lambda Function is to use a third-party library, let’s add the moment library.</p><pre>const moment = require(&#39;moment&#39;);<br><br>exports.handler = async (event) =&gt; {<br>    const currentTime = moment().format(&#39;YYYY-MM-DD HH:mm:ss&#39;);<br>    const response = {<br>        statusCode: 200,<br>        body: JSON.stringify(&#39;Hello from Dockerized Lambda! Current time is: &#39; + currentTime),<br>    };<br>    return response;<br>};</pre><p>3. Create a file for your Lambda third-party libraries package.json:</p><pre>touch package.json</pre><p>Let’s add moment to our package.json (This step can be automatically generated by running npm init &amp;&amp; npm install moment --save )</p><pre>{<br>    &quot;name&quot;: &quot;dockerized-lambda&quot;,<br>    &quot;version&quot;: &quot;1.0.0&quot;,<br>    &quot;description&quot;: &quot;A Dockerized AWS Lambda function using moment&quot;,<br>    &quot;main&quot;: &quot;index.js&quot;,<br>    &quot;dependencies&quot;: {<br>      &quot;moment&quot;: &quot;^2.29.1&quot;<br>    }<br>  }</pre><p>4. Let’s create our ✨ Dockerfile✨ using an <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#runtimes-images-lp">AWS base image for Lambda</a></p><pre>FROM public.ecr.aws/lambda/nodejs:16<br><br>#Include all your third party libraries in this file<br>COPY package.json ${LAMBDA_TASK_ROOT}<br><br># Install NPM modules<br>RUN npm install<br><br>COPY index.js ${LAMBDA_TASK_ROOT}<br>  <br>CMD [ &quot;index.handler&quot; ]</pre><p>5. Build and tag the Docker Image</p><pre>docker build -t my-docker-lambda-function .</pre><p>6. (Optional but highly recommend) Test locally</p><pre>docker run -p 9000:8080 my-docker-lambda:latest</pre><p>On a separate terminal ping our endpoint.</p><pre>curl -XPOST &quot;http://localhost:9000/2015-03-31/functions/function/invocations&quot; -d &#39;{}&#39;</pre><p>This is the expected response</p><pre>{&quot;statusCode&quot;:200,&quot;body&quot;:&quot;\&quot;Hello from Dockerized Lambda! Current time is: 2023-10-09 16:44:56\&quot;&quot;}</pre><p><strong>Upload Docker Image to AWS</strong></p><ol><li><a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-create.html">Create an ECR repository </a>and name it my-docker-lambda</li><li>Login to ECR</li></ol><pre>aws ecr get-login-password --region [region] | docker login --username AWS --password-stdin [account-id].dkr.ecr.[region].amazonaws.com</pre><p>3. Tag the image</p><pre>docker tag [source-image]:latest [account-id].dkr.ecr.[region].amazonaws.com/my-docker-lambda:latest</pre><p>4. Push the image</p><pre>docker push [account-id].dkr.ecr.[region].amazonaws.com/my-docker-lambda:latest</pre><p>Create Lamba using Docker Image</p><ol><li>Create a Lambda function, be sure to select Container Image and select my-docker-lambda ECR repository and the latest image.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qUCxbErVz-qQoZffZmGsFg.png" /><figcaption>Create Lambda Function</figcaption></figure><p>2. (Optional but highly recommend ) Test by sending an empty event</p><pre>{}</pre><p>Expected Result</p><pre>{<br>  &quot;statusCode&quot;: 200,<br>  &quot;body&quot;: &quot;\&quot;Hello from Dockerized Lambda! Current time is: 2023-10-15 18:35:05\&quot;&quot;<br>}</pre><p>⚠️ Quick Note on Architecture:</p><p>When building Docker images for Lambda, be aware of architecture differences between your local machine and the AWS Lambda environment. If you’re using a arm64 machine (like Apple&#39;s M1 chip), remember that AWS Lambda does support arm64—just ensure you select that option when creating the function. Matching the architectures will prevent unexpected runtime issues.</p><h3>Best Practices</h3><p>Before you dive in and start Dockerizing all your Lambdas that use layers, keep a few best practices in mind.</p><h4>Optimizing Docker Images:</h4><p>Just because AWS supports up to 10 GB for a Docker image doesn’t mean you should use that much. It’s important to keep your image lightweight. Aim to use an AWS Lambda base image for optimal results and avoid heavier base images like debian and ubuntu. Opt for more streamlined alternatives such as alpine whenever possible.</p><h4>Optimizing Application Dependencies:</h4><p>Only install the necessary libraries and packages required for your application to function. Regularly review and update the packages to remove deprecated or unused dependencies.</p><h4>Use .dockerignore:</h4><p>Similar to .gitignore, a .dockerignore file ensures that unwanted files aren&#39;t copied to the Docker image during the build process. This is useful for excluding logs, local configuration files, and other unnecessary files.</p><h3>Conclusion: Making the Right Choice</h3><p>While AWS Lambda Layers offer a direct way to manage dependencies, and a quicker cold start their complexity can grow with larger applications, making them painful in the long run. In contrast, a Dockerized Lambdas gives you all the power Docker offers to keep track of your dependencies in one file. There is also an unmatched <strong>ease of deployment </strong>and <strong>portability</strong>. While the supported size of the Docker image is definitely a perk, don’t overuse it. Now that you’ve seen how easy it is to Dockerize your Lambda, it&#39;s time to ditch the layers!</p><p><em>Found this article useful? Connect with me on </em><a href="https://www.linkedin.com/in/denisse-damian/"><em>Linkedin</em></a><em> and join my </em><a href="https://embeds.beehiiv.com/c0c86fd1-8c00-4330-a12c-480493953ee8"><em>newsletter</em></a><em> where I post LeetCode questions and Job Interview Tips! I post useful tips on AWS, interview strategies, and more!</em></p><p>Resources:</p><ul><li><a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-authentication-short-term.html">Getting IAM Identity Center user credentials for the AWS CLI or AWS SDKs</a></li><li><a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html">Working with Lambda Containers</a></li><li><a href="https://medium.com/p/c02a9726fd44">Step-by-Step Guide to CI/CD for AWS Lambda with Docker and GitHub Actions</a></li></ul><h3>In Plain English</h3><p><em>Thank you for being a part of our community! Before you go:</em></p><ul><li><em>Be sure to </em><strong><em>clap</em></strong><em> and </em><strong><em>follow</em></strong><em> the writer! 👏</em></li><li><em>You can find even more content at </em><a href="https://plainenglish.io/"><strong><em>PlainEnglish.io</em></strong></a><strong><em> 🚀</em></strong></li><li><em>Sign up for our </em><a href="http://newsletter.plainenglish.io/"><strong><em>free weekly newsletter</em></strong></a><em>. 🗞️</em></li><li><em>Follow us on </em><a href="https://twitter.com/inPlainEngHQ"><strong><em>Twitter</em></strong></a><strong><em>(X</em></strong>), <a href="https://www.linkedin.com/company/inplainenglish/"><strong><em>LinkedIn</em></strong></a>, <a href="https://www.youtube.com/channel/UCtipWUghju290NWcn8jhyAw"><strong><em>YouTube</em></strong></a>, and <a href="https://discord.gg/in-plain-english-709094664682340443"><strong><em>Discord</em></strong></a><strong><em>.</em></strong></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=775ffa1b4005" width="1" height="1" alt=""><hr><p><a href="https://aws.plainenglish.io/ditch-the-layers-exploring-the-benefits-of-dockerized-aws-lambda-775ffa1b4005">Ditch the Layers: Exploring the Benefits of Dockerized AWS Lambda</a> was originally published in <a href="https://aws.plainenglish.io/">AWS in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terraform Modules and How to Not Die Trying: A Guide to Structuring Your Project]]></title>
            <link>https://medium.com/@denissedamian/terraform-modules-and-how-to-not-die-trying-a-guide-to-structuring-your-project-aac45d1b8892?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/aac45d1b8892</guid>
            <category><![CDATA[terraform-modules]]></category>
            <category><![CDATA[terraform-provider]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Fri, 15 Sep 2023 23:30:30 GMT</pubDate>
            <atom:updated>2023-09-15T23:30:30.721Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZkUZcsYRS42yAOcS" /><figcaption>Photo by <a href="https://unsplash.com/@casparrubin?utm_source=medium&amp;utm_medium=referral">Caspar Camille Rubin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>If you’ve dabbled in the realm of Infrastructure as Code (IaC), you probably know that managing a complex cloud infrastructure without some form of code reusability can be a task that can make you want to cry. Welcome to the world of Terraform, where modules can be your ally. However, using modules without a well-thought-out plan can quickly turn your IaC dream into a nightmare. This article aims to guide you through the best practices of structuring your Terraform projects with modules, so you don’t “die trying.”</p><h3>Why Modules?</h3><p>Terraform modules allow you to encapsulate a piece of your infrastructure into a reusable component. Using modules can help you adhere to the DRY (Don’t Repeat Yourself) principle, reduce error, and make updates more straightforward.</p><h3>The Directory Structure of Survivors</h3><p>Yes, you read it right. A well-structured directory can be your lifesaver.</p><p>Here’s an example:</p><pre>my_terraform_survival_kit/<br>├── environments/<br>│   ├── development/<br>│   │   ├── main.tf<br>│   │   ├── variables.tf<br>│   │   └── outputs.tf<br>│   ├── staging/<br>│   │   ├── main.tf<br>│   │   ├── variables.tf<br>│   │   └── outputs.tf<br>│   └── production/<br>│       ├── main.tf<br>│       ├── variables.tf<br>│       └── outputs.tf<br>├── modules/<br>│   ├── ec2_instance/<br>│   │   ├── main.tf<br>│   │   ├── variables.tf<br>│   │   └── outputs.tf<br>│   └── vpc/<br>│       ├── main.tf<br>│       ├── variables.tf<br>│       └── outputs.tf<br>└── README.md</pre><h4>Code Explanation:</h4><ul><li>environments: Each environment like development, staging, and productionhas its own set of configuration files. This allows you to isolate the settings and resources for each environment.</li><li>modules: Reusable chunks of code that can be referenced in different environments. Each module handles a specific aspect of the infrastructure.</li></ul><h3>Summoning Modules Without a Magic Wand</h3><p>You don’t need wizardry to invoke a Terraform module. It’s as simple as adding a module block in your main.tf file in any environment. Like so:</p><pre>module &quot;ec2_instance&quot; {<br>  source = &quot;../../modules/ec2_instance&quot;<br>  instance_type = &quot;t2.micro&quot;<br>}<br><br>module &quot;vpc&quot; {<br>  source = &quot;../../modules/vpc&quot;<br>}</pre><h3>Tips to Not Die Trying</h3><ol><li>Testing: Always test modules in isolation and in a real-world scenario before integrating them into your main project.</li><li>Documentation: A well-documented module explains not just what the module does, but how and why it does it.</li></ol><h3>Conclusion</h3><p>Modules are one of Terraform’s most powerful features for managing complex infrastructure setups. They provide reusability, maintainability, and a clean separation of concerns. However, wielding this power without adequate planning can lead to chaos. But fear not! With the guidelines provided in this article, you should be well on your way to mastering Terraform modules, without dying in the process.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aac45d1b8892" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Step-by-Step Guide to CI/CD for AWS Lambda with Docker and GitHub Actions]]></title>
            <link>https://medium.com/@denissedamian/step-by-step-guide-to-ci-cd-for-aws-lambda-with-docker-and-github-actions-c02a9726fd44?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/c02a9726fd44</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[lambda]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Fri, 15 Sep 2023 08:58:34 GMT</pubDate>
            <atom:updated>2024-02-12T01:49:03.790Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A-b1qofQVVkdd2_m" /><figcaption>Photo by <a href="https://unsplash.com/@burntime?utm_source=medium&amp;utm_medium=referral">Alex Kulikov</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Continuous Integration/Continuous Deployment (CI/CD) is an integral part of modern development practices, it allows you to automate and deploy. The aim is to automate the different steps in the software delivery process, from integration and testing phases to deployment to production. AWS Lambda is a serverless computing service that runs your code in response to events and automatically manages the computing resources for you.</p><p><strong>In this tutorial we’ll cover:</strong></p><ul><li>Dockerizing the Lambda Function</li><li>Setting up CI/CD with GitHub Actions</li><li>Pushing the Docker image to AWS ECR (Elastic Container Registry)</li><li>Creating and Deploying the Lambda Function</li></ul><p><strong>Prerequisites:</strong></p><ul><li>AWS account and AWS CLI installed and configured.</li><li>GitHub account.</li><li>Basic knowledge of Docker and AWS Lambda.</li><li>Node.js (or any other runtime supported by AWS Lambda) installed on your local machine</li></ul><p><strong>Dockerizing the Lambda Function</strong></p><p>1. Create a new folder for your Lambda function:</p><pre>mkdir my-lambda-function<br>cd my-lambda-function</pre><p>2. Create a file for your Lambda function, e.g., index.js:</p><pre>touch index.js</pre><p>Let’s add some code to our index.js file</p><pre>exports.handler = async (event) =&gt; {<br>    return {<br>        statusCode: 200,<br>        body: JSON.stringify(&#39;Hello from Lambda!&#39;),<br>    };<br>};</pre><p>3. Create a Dockerfile:</p><pre>touch Dockerfile</pre><p>We are going to use an <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#runtimes-images-lp">AWS base image for Lambda</a> 💅</p><pre>FROM public.ecr.aws/lambda/nodejs:16<br><br>COPY index.js ${LAMBDA_TASK_ROOT}<br>  <br>CMD [ &quot;index.handler&quot; ]</pre><p>4. Build and tag the Docker Image</p><pre>docker build -t my-lambda-function .</pre><p>5. (Optional but highly recommend) Test locally</p><pre>docker run -p 9000:8080 my-lambda-function:latest</pre><p>On a separate terminal ping our endpoint.</p><pre> curl -XPOST &quot;http://localhost:9000/2015-03-31/functions/function/invocations&quot; -d &#39;{}&#39;</pre><p>You should see the following output:</p><pre>{&quot;statusCode&quot;:200,&quot;body&quot;:&quot;\&quot;Hello from Lambda!\&quot;&quot;}</pre><h4>Setting up the AWS Environment</h4><ol><li><a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-create.html">Create an ECR repository </a>and name it my-lambda</li><li>Create an IAM policy to push to our ECR repository with the following permissions</li></ol><pre>{<br>    &quot;Version&quot;: &quot;2012-10-17&quot;,<br>    &quot;Statement&quot;: [<br>        {<br>            &quot;Effect&quot;: &quot;Allow&quot;,<br>            &quot;Action&quot;: [<br>                &quot;ecr:CompleteLayerUpload&quot;,<br>                &quot;ecr:GetAuthorizationToken&quot;,<br>                &quot;ecr:UploadLayerPart&quot;,<br>                &quot;ecr:InitiateLayerUpload&quot;,<br>                &quot;ecr:BatchCheckLayerAvailability&quot;,<br>                &quot;ecr:PutImage&quot;<br>            ],<br>            &quot;Resource&quot;: &quot;*&quot;<br>        }<br>    ]<br>}</pre><p>3. Create a user and attach the policy</p><p>4. Create Access Keys for the user</p><p>Select Third-party service when creating the keys</p><p>4. Add the Access Keys to your GitHub Repository</p><p>In the repository go to Settings&gt;Secrets and Variables&gt;New Repository secret</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UafTSIYztgsV8L0dGt8C1g.png" /><figcaption>AWS Access Key</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N024a_bhL5GtE1BccKOWFQ.png" /><figcaption>AWS Secret Access Key</figcaption></figure><h4>Setting up CI/CD with GitHub Actions</h4><ol><li>Create the repository for the Lambda function</li></ol><pre>git init<br>git add .<br>git commit -m &quot;Initial commit&quot;<br>git remote add origin [your-github-repo-url]<br>git push -u origin master</pre><p>2. Create a .github/workflows/deploy.yml file in your repo:</p><pre>name: Deploy Lambda Function<br><br>on:<br>  push:<br>    branches:<br>      - master<br><br>jobs:<br>  deploy:<br>    runs-on: ubuntu-latest<br><br>    steps:<br>    - name: Checkout code<br>      uses: actions/checkout@v2<br><br>    - name: Configure AWS Credentials<br>      uses: aws-actions/configure-aws-credentials@v1<br>      with:<br>        aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}<br>        aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}<br>        aws-region: [your-aws-region]<br><br>    - name: Build Docker Image<br>      run: docker build -t my-lambda .<br><br>    - name: Tag Docker Image<br>      run: docker tag my-lambda:latest ${{ steps.login-ecr.outputs.registry }}/my-lambda:latest<br><br>    - name: Push Docker Image to ECR<br>      run: docker push ${{ steps.login-ecr.outputs.registry }}/my-lambda:latest</pre><p>Code Explanation:</p><ol><li><strong>Checkout: </strong>This step checks out your repository under $GITHUB_WORKSPACE, so the workflow can access it.</li><li><strong>Configure AWS Credentials: </strong>This step will access the secrets we created in the previous step to login to AWS</li><li><strong>Logging into Amazon ECR</strong>: After setting up the AWS credentials, this phase utilizes a GitHub Action to authenticate with the Amazon ECR repository.</li><li><strong>Building and Uploading the Docker Image to AWS ECR</strong>: Leveraging the successful AWS login from the previous step, we retrieve the ECR registry details. The ECR repository name, then used to dynamically construct and upload a Docker image to AWS. In the code snippet provided, the image is tagged as latest .</li></ol><h4>Creating and Deploying the Lambda Function</h4><ol><li>Go to the AWS Lambda console and create a new Lambda function.</li><li>For the runtime, select Custom runtime in a Docker image.</li><li>Specify my-lambda ECR repository, select the latest image</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_ipQo5S4ZcYkKSMMzuuetQ.png" /><figcaption>Create Lambda Function</figcaption></figure><p>4. (Optional but highly recommend) Test</p><p>Send an empty event to your lambda and you should have the following output</p><pre>{<br>  &quot;statusCode&quot;: 200,<br>  &quot;body&quot;: &quot;\&quot;Hello from Lambda!\&quot;&quot;<br>}</pre><p><em>Found this article useful? Connect with me on </em><a href="https://www.linkedin.com/in/denisse-damian/"><em>Linkedin</em></a><em> and join my </em><a href="https://embeds.beehiiv.com/c0c86fd1-8c00-4330-a12c-480493953ee8"><em>newsletter</em></a><em> where I post LeetCode questions and Job Interview Tips!! I post useful tips on AWS, interview strategies, and more!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c02a9726fd44" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[¿Cómo  mantener tu cerebro joven?]]></title>
            <link>https://medium.com/@denissedamian/c%C3%B3mo-mantener-tu-cerebro-joven-a04ef756fb2d?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/a04ef756fb2d</guid>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[self-love]]></category>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[brain]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Mon, 05 Oct 2020 13:03:14 GMT</pubDate>
            <atom:updated>2020-10-05T13:03:14.452Z</atom:updated>
            <content:encoded><![CDATA[<h3>¿Cómo mantener tu cerebro joven?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9A9EsWHiaZGJV_M7bXlvkw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@lidyanada?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Lidya Nada</a> on <a href="https://unsplash.com/s/photos/play?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Como humanos, tendemos a preocuparnos por mantener nuestra apariencia joven por ello invertimos en tratamientos, botox o cremas aunque también nos deberíamos de preocupar por mantener nuestro cerebro joven <strong>para prevenir la demencia en nuestra vejez.</strong></p><p><a href="https://www.wsj.com/articles/what-science-tells-us-about-preventing-dementia-11574004600">Cuando se trata de luchar contra la demencia, los hechos son los siguientes; los medicamentos han demostrado ser ineficaces para curar o detener la enfermedad en su forma más común : Alzheimer</a>.</p><p>Hay muchos factores que determinan si las personas tienden a desarrollar demencia o no, algunos de ellos son genéticos o desconocidos.</p><p>En este artículo hablaremos sobre la prevención del envejecimiento de nuestro cerebro, que a su vez parece apuntar al desarrollo o retraso del Alzheimer, según estudios que referiremos.</p><p><a href="https://www.youtube.com/watch?v=esPRsT-lmw8"><strong>La realidad es que el Alzheimer se empieza a desarrollar 30 a 35 años antes de presentar cualquier síntoma</strong></a> por lo que es importante hacer todo lo que esté en nuestro alcance para prevenirlo</p><p><strong>Hay factores de los que tenemos control y son modificables como </strong><a href="https://www.youtube.com/watch?v=2tcEgqTWbxQ"><strong>Elizabeth Amini nos relata en su TedTalk.</strong></a></p><h3><strong>Hacer ejercicio</strong></h3><p><strong>Para reducir las probabilidades de desarrollar demencia, haz ejercicio que eleve tu frecuencia cardíaca.</strong></p><p>En un <a href="https://www.wsj.com/articles/what-science-tells-us-about-preventing-dementia-11574004600">estudio</a> reciente hecho por la escuela de medicina Wake Forest, encontraron 65 personas sedentarias entre 55 y 89 años con problemas leves de memoria y los siguieron durante seis meses. El experimento consistió en que la mitad de los participantes hicieran ejercicio en una caminadora durante una hora, al 70% -80% de la frecuencia cardíaca máxima de cada paciente. Mientras que la otra mitad hacía ejercicios de estiramiento al 35% su frecuencia cardíaca máxima.</p><p><strong>Al final de los seis meses, el grupo con el ejercicio aeróbico tuvo una reducción significativa del nivel de proteína tau en el líquido cefalorraquídeo, la cual se acumula en personas con Alzheimer y mejoraron sus calificaciones en los tests cognitivos </strong>mientras que el grupo de los estiramientos se mantuvo igual.</p><h3>No le des veneno a tu cerebro</h3><p>Suena bastante obvio, ¿no? ¿ Quién se quisiera envenenar a propósito? Pues fumar es envenenar a tu cerebro y lo que probablemente no sabes es que han hecho <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4357455/">estudios</a> donde sugieren que fumar duplica tus posibilidades de ser un paciente con Alzheimer.</p><p>También elimina todas las sustancias tóxicas en tu día a día. En <a href="https://www.ewg.org/">esta</a> página puedes verificar que los productos que usas día a día no sean dañinos.</p><h3><strong>Ejercitar tu cerebro</strong></h3><p>Aprender un nuevo idioma, jugar ajedrez, tocar un instrumento o incluso aprender a bailar son actividades que ayudan a tu mente se mantenga joven. Ni si quiera tienes que ser bueno en lo que estás haciendo mientras que sea interactivo y no pasivo como lo es ver Netflix.</p><h3>Relajarte</h3><p><strong>Estresarte mucho durante períodos de tiempos muy largos puede hacer que tu cerebro se encoja reporta </strong><a href="https://n.neurology.org/content/91/21/e1961"><strong>este</strong></a><strong> estudio</strong>. El estrés también afecta tu memoria y tus habilidades de toma de decisiones.</p><p>Mientras que es imposible tener una vida sin estrés si puedes incorporar actividades relajantes a tu día, hacer yoga, meditar, leer y caminar son sólo un par de ideas.</p><h3>Tu actitud</h3><p><a href="http://ncbi.nlm.nih.gov/pmc/articles/PMC2734290/">Este</a> estudio rastreó a 678 monjas a lo largo de sus vidas y encontró que las monjas que describían sus vidas con palabras de emociones más positivas no solo vivían más sino que también eran más saludables.</p><p>Al morir la mayoría de las monjas dieron permiso que abrieran sus cerebros. <strong>Lo más interesante fue que en algunos casos cuando hicieron las autopsias encontraron que había monjas que demostraban signos de Alzheimer en su cerebro pero en vida nunca presentaron ningún síntoma.</strong></p><p>En conclusión hay muchos factores que determinan si vas a tener demencia o no. Algunos de ellos no son modificables pero puedes disminuir las probabilidades de desarrollar Alzheimer al implementar estás actividades en tu vida.</p><p><a href="https://denisse.ck.page/1efd280d79">Recibe 3 juegos mentales para ejercitar tu c</a>erebro</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a04ef756fb2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[¿Cómo encontrar resilencia en tiempos difíciles ?]]></title>
            <link>https://medium.com/@denissedamian/c%C3%B3mo-encontrar-resilencia-en-tiempos-dif%C3%ADciles-2a8d5d42039d?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a8d5d42039d</guid>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[resilience]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[mental-health]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Mon, 21 Sep 2020 12:02:22 GMT</pubDate>
            <atom:updated>2020-09-25T14:08:20.282Z</atom:updated>
            <content:encoded><![CDATA[<h3>¿Cómo encontrar resilencia en tiempos dificiles ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*17dT8ifFaFyG87xoBQoIxg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@benwhitephotography?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Ben White</a> on <a href="https://unsplash.com/s/photos/strong-kid?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Al principio del año tenía todo un plan; iba a tener una ceremonia de graduación, era co-fundadora de una empresa de turismo, me iba a ir el verano a trabajar al extranjero y regresando iba a entrar a un mercado laboral estable. Déjame te adelanto que nada de eso paso. Mi graduación se trasmitió vía YouTube, me retiraron la oferta laboral, cerramos la empresa.</p><p><strong>Fue cuando me di cuenta lo fácil que es caer dentro de la ilusión que el fracaso sólo nos pasa a nosotros y lo fácil que optar por rendirte.</strong></p><h3><strong>Sólo el 33% es resiliente</strong></h3><p>El psicólogo Martin E.P. Seligman, narra en <a href="https://amzn.to/33IBaM5">este</a> libro su experimento con la resiliencia. Su experimento consto en hacer tres grupos; el primer grupo escuchaba un sonido chillante pero al picarle a un botón frente a ellos el sonido paraba, el segundo grupo escuchaba el mismo sonido pero el botón no paraba el ruido y el tercero no escuchaba nada.</p><p>Al día siguiente los mismos tres grupos se encontraban en una nueva situación, todos escuchaban el mismo ruido pero ahora todos lo podían apagar con un botón y para hacerlo sólo tenían que mover su mano 30 cm. Los integrantes de los grupos uno y tres lo averiguaron callando el sonido rápidamente aunque pocas personas en el grupo dos se movieron.</p><p>El comportamiento del grupo dos lo denominaron;<strong> impotencia aprendida.</strong> Después de repetir este mismo experimento durante 15 años Martin E.P. Seligman<strong> se dio cuenta que un tercio de las personas que pertenecieron al grupo dos nunca se dieron por vencidas.</strong></p><h3>¿Qué las hacía diferentes?</h3><p><strong>Notaron que lo que tenían esas personas en común era el optimismo.</strong> Ellas tienen el hábito de ver el fracaso como algo temporal, local y cambiable. También se dieron cuenta que la resilencia se pueden medir y enseñar. <strong>Lo cual prueba que los humanos no tenemos una cantidad fija de resilencia más bien es un músculo.</strong></p><h3><strong>¿Qué hace a alguien resiliente?</strong></h3><p>Seligman, determina que como percibes las 3Ps es tu habilidad de afrontar una adversidad.</p><p>A<a href="https://www.youtube.com/watch?v=iqm-XEqpayc">unque tal vez te guste más como los describe Sheryl Sandberg</a>.</p><p><strong>Personalización:</strong> Se refiere a cuando internalizamos nuestro fracaso y pensamos que nosotros somos un fracaso absoluto.</p><p><em>Tip: Hacer </em><a href="https://amzn.to/3iQ7gLY"><em>este</em></a><em> programa me ayudo a poder escribir diario, listar por lo que estoy agradecida e imaginar como mi situación pudiese ser peor.</em></p><p><strong>Permanencia: </strong>Pensar que nuestro fracaso va a durar para siempre.</p><p><em>Tip: Busca historias de personas que vivieron algo similar a lo que sientes; Amelia Earhart y Edvard Munch son ejemplos de supervivencia con éxito de una pandemia.</em></p><p><strong>Omnipresencia: </strong>Pensar que eres un fracaso en todos los aspectos de tu vida.</p><p><em>Tip: Escoge una actividad que sepas que puedas mejorar con facilidad, para mí fue correr y poco a poco aumentar mi resistencia al correr.</em></p><p>Aunque mi situación de ninguna manera es lo peor que me ha pasado, fue un duelo que me hacía sentir como una fracasada.</p><p>Después de meses muy negros logré superarme. Encontré un trabajo que me encanta y aumenté mi sueldo casi 400%,<a href="https://medium.com/@denissedamian/como-cre%C3%A9-3-flujos-de-dinero-alternos-9f9669a7b7eb"> aumenté mis flujos de ingreso</a>, vendí mi primer proyecto como consultora y empecé a escribir los artículos que espero estes disfrutando.</p><p>El fracaso es inevitable, todos nos perdemos y fracasamos, de hecho es una señal que estás intentando algo. <strong>Lo que te define es que haces con tu fracaso.</strong></p><p><a href="https://denisse.ck.page/b27a951d74">Suscríbete al Newsletter para recibir los mejor 3 libros de resilienc</a>ia</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a8d5d42039d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[¿Tu celular te produce felicidad?]]></title>
            <link>https://medium.com/@denissedamian/tu-celular-te-produce-felicidad-559d0c2325d?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/559d0c2325d</guid>
            <category><![CDATA[addiction]]></category>
            <category><![CDATA[social-media-management]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[technical-analysis]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Tue, 15 Sep 2020 14:20:58 GMT</pubDate>
            <atom:updated>2020-09-20T04:02:17.398Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LJ4JHX2dQdqPjhZrJFOPhw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@gilleslambert?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Gilles Lambert</a> on <a href="https://unsplash.com/s/photos/technology?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Cuando empezó la cuarentena estaba viviendo un momento extraño, nunca había tenía tiempo de sobra y ahora tenía mucho, no lograba asimilar qué hacer con ello. Llegué a un punto que había pasado 8 horas en mi celular en un sólo día, toda una jornada laboral y no me sentía satisfecha, quería seguir viendo TikToks.</p><p>Estar en mi celular era mucho más fácil que lidiar con el miedo y la incertidumbre de lo que estaba viviendo de tener planes cancelados y un futuro incierto. Me daba una cierta estabilidad emocional lo cual me parecía extraño, ¿Por qué algo no humano me hace sentir emociones humanas? <a href="https://www.netflix.com/mx/title/81254224">Este</a> documental y mis 3 libros favoritos fueron <a href="https://amzn.to/32I6Xxi">este</a>, <a href="https://amzn.to/2RB5S46">este</a>, <a href="https://amzn.to/35MMVDE">este</a>.</p><h3>¿Mejor que el sexo?</h3><p>79% de los dueños de un teléfono inteligente lo checan en los primeros 15 minutos de empezar su día. ¿Usar nuestro celular es mejor que el sexo?<a href="https://www.nbcnews.com/news/world/survey-one-third-would-rather-give-sex-phone-flna121757"> <strong>Una encuesta reveló que 33% de los Americanos prefieren dejar el sexo que su celular.</strong></a><strong> </strong>Lo cual me hizo sentirme extraña, no estoy sola en mí adicción a mi dispositivo móvil pero al mismo tiempo sí, es como si todos hubiéramos firmado un pacto de estar solos juntos.</p><h3>Un casino en tus dedos</h3><p>¿Qué tienen en común una máquina de casino y tu celular? La manera en la que están diseñadas. <strong>Al igual que un máquina de casino, nunca sabes cuándo vas a recibir una recompensa y la manera que el celular te recompensa es con una notificación.</strong> Estudios han comprobado que cuando estamos esperando una recompensa, nuestros niveles de dopamina incrementan. Lo cual me hizo sentido porque en promedio estaba levantando 250 veces al día mi celular.</p><p>Tener constantemente retroalimentación es lo que permite que las tecnologías te den una pequeña dosis de felicidad. Sea en manera de correo electrónico, likes, retweets, tags, notificaciones o mi más reciente fuente de felicidades es checar cuantas personas han leído mis historias.</p><h3>Tu atención como modelo de negocio</h3><p><strong>Las empresas cada vez apuntan a que su valor económico este relacionado a los hábitos que le crean al usuario.</strong> De manera que si el usuario usa irresponsablemente estas tecnologías rápidamente puede caer en un estado zombie.</p><p>Las sugerencias que se te presentan dentro de las aplicaciones se basan en modelos y algoritmos que intentan predecir tu comportamiento. En otras, palabras con los datos que ellos han recolectado intentan predecir qué te va a gustar y qué vas a hacer. <strong>Como consecuencia pasas más tiempo usando su producto y estos algoritmos pueden maximizar las ventas de sus anuncios.</strong></p><h3>¿Entonces?</h3><p><strong>Es algo bizarro lo que vivimos, la tecnología es una utopía y distopía al mismo tiempo. </strong>La tecnología nos permite trabajar desde casa, tener varias fuentes de ingreso, encontrar donadores de sangre, recaudar fondos para una causa entre muchos otros beneficios. Aunque al mismo tiempo son herramientas para comunicar odio, monetizar información falsa, crear polarización, sólo por mencionar algunos daños. Los modelos de negocio que han construido han permitido desarrollar la tecnología que conecta y desconecta al mundo todo al mismo tiempo.</p><p>Como todo en la vida, las cosas no son ni buenas ni malas,<strong> todo recae en cómo reaccionamos.</strong> Por ello lo importante es que nos demos cuenta de cómo usamos la tecnología y sobre todo cómo se monetiza.</p><p>Para mí, es algo irrealista pensar que el diseño de la tecnología va a cambiar en el futuro cercano por lo que la responsabilidad recae en nosotros. Lo importante es usarla a nuestro favor para que sean herramientas de beneficio y no las usemos como un casino en nuestros dedos.</p><p>Dedicar horas sin tecnología, apagar mis notificaciones, borrar aplicaciones que demanden constantemente mi atención, limitar el tiempo de mis sesiones son técnicas que me han ayudado a lentamente romper mi adicción y<a href="https://amzn.to/3mBh7HP"> usarlas a </a>mi favor.</p><p><a href="https://denisse.ck.page/1efd280d79">Subscríbete para recibir una lista de herramientas para controlar tu adición</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=559d0c2325d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[¿Por qué duele un corazón roto?]]></title>
            <link>https://medium.com/@denissedamian/por-qu%C3%A9-duele-un-coraz%C3%B3n-roto-1808ea8e5b68?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/1808ea8e5b68</guid>
            <category><![CDATA[social]]></category>
            <category><![CDATA[heartbreak]]></category>
            <category><![CDATA[experience]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Mon, 07 Sep 2020 14:08:14 GMT</pubDate>
            <atom:updated>2020-09-19T00:58:24.867Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uEDWc0lHdNIFGXIz-qPA5g.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@kellysikkema?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Kelly Sikkema</a> on <a href="https://unsplash.com/s/photos/heartbroken?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Nunca voy a olvidar el sentimiento de cuando corté. En ese momento no me podía ni parar del piso del llanto. Los días siguientes también los recuerdo, sentía un profundo dolor en todo el cuerpo, lo cual despertaba muchas preguntas. ¿De dónde viene este dolor, si me encuentro saludable? Me costaba entender a mi cuerpo, ya que el estado de mi salud no había cambiado sólo había cambiado el estatus de mi relación.</p><p>Como hija de académica, mis respuestas siempre provienen de libros. De los que leí casi una docena, la mayoría eran de auto-ayuda. Por una parte me ayudaron pero no me daban una explicación de las punzadas en mi cuerpo y la jaqueca que sentía, la explicación que más me gusto viene en <a href="https://amzn.to/2RHVMhT">este</a> libro.</p><h3><strong>El tamaño de nuestro cerebro</strong></h3><p>“¿Por qué los cerebros están construidos de tal manera que una ruptura amorosa sea igual de doloroso que una pierna rota?” se pregunta el autor Matthew D. Lieberman. Una de las explicaciones que da es el tamaño de nuestro cerebro, el humano tiene el cerebro mas grande en relación al tamaño de nuestro cuerpo permitiéndonos ser una criatura social.</p><h3><strong>¿El sentimiento de corazón roto existe?</strong></h3><p>Mucha de la teoría del autor se basa en el experimento que hizo junto con Naomi Eisenberger. Ellos crearon un juego virtual dentro de un<a href="https://www.news-medical.net/health/What-is-fMRI-(Spanish).aspx"> escáner fMRI </a>que permitía que pudieras lanzar la pelota con otras dos personas. La persona jugando piensa que esta interactuando con personas reales vía internet pero realmente son bots.</p><p>Después de unos minutos del juego, el humano es excluido del juego para siempre.<strong> Lo que les permitió estudiar el sentimiento del rechazo. </strong>Lo que me pareció más interesante fue que cuando ellos estudiaron los resultados y se dieron cuenta que<strong> las regiones del cerebro que experimentan el dolor físico fueron las mismas regiones que experimentaron el sufrimiento social.</strong></p><p><a href="https://www.youtube.com/watch?v=goK2rivxTqQ">Experimento de la ciber-bola</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DRazASEVDNL0xgW-U9lhYg.png" /></figure><h3><strong>2 Tylenol para el corazón roto</strong></h3><p>Otro de sus experimentos incluyó recetar dos pastillas durante 21 días. El grupo control tomaba un placebo mientras <strong>que el grupo del experimento tomaba dos Tylenol al día.</strong></p><p>Al terminar los 21 días hicieron que los dos grupos jugaran a la ciber-bola, mientras que los dos grupos experimentaron rechazo, sólo el grupo del placebo lo demostró en los resultados. <strong>Probando la teoría que si el Tylenol cura el dolor físico y social, el sufrimiento social es real.</strong></p><p>Es importante recalcar que el autor nunca declara que el dolor físico es idéntico al social.<strong> Si no que el sufrimiento de un rechazo o una pérdida es tan real como el dolor de una pierna rota.</strong></p><p>Como humanos cada vez que nos abrimos a conectar con cualquier persona, corremos con el riesgo de que nos abandonen pero al igual que una pierna rota el corazón también sana<strong>. Mientras que estos sentimientos parezcan inaguantables en el momento, son reales, acéptalos.</strong></p><p>Estos son resultados de experimentos y esta explicación fue suficiente para mí para aceptar mi duelo. <strong>Lograr asimilar que mi cuerpo sí está experimentando dolor y que el sufrimiento no solamente es psicológico me ha ayudado a evitar reprimir sentimientos.</strong></p><p><a href="https://denisse.ck.page/1efd280d79">Suscríbete a mi newsletter, mando tips bizarros, libros favoritos y experimentos</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1808ea8e5b68" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[¿Cuál es la probabilidad de que tu trabajo exista en 20 años?]]></title>
            <link>https://medium.com/@denissedamian/cu%C3%A1l-es-la-probabilidad-de-que-tu-trabajo-exista-en-20-a%C3%B1os-6ffc3844d448?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ffc3844d448</guid>
            <category><![CDATA[creativity]]></category>
            <category><![CDATA[robots]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[jobs-to-be-done]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Mon, 31 Aug 2020 13:05:38 GMT</pubDate>
            <atom:updated>2020-09-02T18:08:11.477Z</atom:updated>
            <content:encoded><![CDATA[<h3>¿Cuál es la probabilidad de que tu trabajo desaparezca?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iUM1yJYDIF_3-Hbs-ytRrA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@rocknrollmonkey?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Rock’n Roll Monkey</a> on <a href="https://unsplash.com/s/photos/robot?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>En <a href="https://www.oxfordmartin.ox.ac.uk/publications/the-future-of-employment/">este</a> estudio, Oxford presenta qué tan probable es que los siguientes trabajos continúen existiendo en el 2040. Si el título de tu trabajo incluye: vendedor telefónico, corredor inmobilario, mesero o contador predice arriba de un 90% de probabilidades de que este, sea remplazado por sistemas automatizados.</p><p>Las computadoras nos llevan mucha ventaja a los humanos; no requieren comer, dormir, ni muestran sesgos ante ninguna situación. Ellas nunca se cansan y pueden hacer miles de operaciones en un par de segundos. La realidad es que la automatización de los trabajos cada vez es más atractiva y se incorpora más en nuestras vidas.</p><h3><strong>La manera de vencerlas.</strong></h3><p>Ahora más que nunca va a ser de suma importancia desarrollar tus habilidades de negociación y persuasión, <strong>la ventaja que aún mantiene el humano es la inteligencia social</strong>. Los algoritmos desarrollados pueden imitar la interacción humana, pero no pueden desarrollar habilidades más específicas, por ejemplo de negociación. Hasta ahora, nunca he visto a un robot regatear.</p><p><strong>Herramientas</strong>: <a href="https://www.amazon.com/-/es/Dale-Carnegie/dp/0307475409">Cómo Ganar Amigos E Influir Sobre Las Personas</a>, <a href="https://www.amazon.com/-/es/Reinvent-Yourself-James-Altucher-ebook/dp/B01NAM6W70/ref=sr_1_1?__mk_es_US=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;dchild=1&amp;keywords=reinvent+yourself&amp;qid=1598734598&amp;s=books&amp;sr=1-1">Reinvent Yourself</a>,</p><h3><strong>Si no puedes contra ellas, úneteles.</strong></h3><p><strong>La manera de convivir con la amenaza del desconocimiento, es aprendiendo.</strong></p><p>¡Aprende a programar! Desarrollar tus habilidades informáticas cada vez es más necesario y menos complejo. Sé que puede sonar intimidante, pero como Ingeniera de Software te digo que no lo es. Lo más frustrante es al principio pero te aseguro que con práctica lograrás desarrollar tus habilidades más fácil de lo que te imaginas, lo importante es empezar.<strong> Sea cual sea tu trabajo, la programación te va a sumar gran valor a tu vida</strong></p><p><strong>Herramientas</strong>: <a href="https://www.coursera.org/specializations/python">Python para todos </a>,<a href="https://www.educative.io/"> Educative.io</a>, <a href="https://www.codecademy.com/">CodeAcademy</a></p><h3><strong>La creatividad como medio de supervivencia.</strong></h3><p>La originalidad y las habilidades artísticas fueron las variables que presentaron el menor porcentaje de probabilidad de ser reemplazadas. Trabajos como: artistas, pintores, autores, maquilladores, fotógrafos y productores artísticos caen en menos del 1% de posibilidad de ser sustituibles por la automatización. <strong>Practicar técnicas artísticas no es ningún capricho; es una necesidad</strong>. No todos vamos a ser el siguiente Picasso o Cervantes, pero encontrar actividades que estimulen la creatividad brinda habilidades cognitivas que definitivamente ayudarán a la adaptación al cambio.</p><p><strong>Herramientas</strong>: <a href="https://www.amazon.com/-/es/Artists-Way-25th-Anniversary/dp/0143129252/ref=sr_1_1?__mk_es_US=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;crid=11RSY77KY7U81&amp;dchild=1&amp;keywords=the+artist+way+julia+cameron&amp;qid=1598734882&amp;s=books&amp;sprefix=the+artist+%2Cstripbooks-intl-ship%2C222&amp;sr=1-1">The Artist way</a>, <a href="https://www.amazon.com/-/es/Bird-Some-Instructions-Writing-Life-ebook/dp/B000SEGI8Q/ref=sr_1_1?__mk_es_US=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;crid=ZJX0I3J204V5&amp;dchild=1&amp;keywords=bird+by+bird&amp;qid=1598734920&amp;s=books&amp;sprefix=bird+by+%2Cstripbooks-intl-ship%2C257&amp;sr=1-1">Bird by Bird</a></p><p>Al final, cualquier automatización se hace para mejorar el estilo de vida de las personas. Desgraciadamente los cambios no se van a presentar de manera equitativa. El autor argentino<a href="https://twitter.com/oppenheimera"> Andrés Oppenheimer</a>, presenta una cifra alarmante; “Según el Banco Mundial el porcentaje de trabajos amenazados por la automatización será de 77% en China, 69% en India, 64% en Argentina y Estados Unidos 47%.”</p><p><strong>El 2040 está más cerca de lo que piensas; prepárate desarrollando tus habilidades de persuasión, informáticas y creativas.</strong></p><p><strong>Edición : </strong><a href="https://www.typandart.com/"><strong>Frida Roffe</strong></a></p><p><a href="https://denisse.ck.page/1efd280d79"><strong>Suscríbete a mi newsletter para recibir contenido exclusivo</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ffc3844d448" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 mejoras a tu vida en 3 horas]]></title>
            <link>https://medium.com/@denissedamian/3-mejoras-a-tu-vida-en-3-horas-49dfc9fe3d5c?source=rss-25ac2800474------2</link>
            <guid isPermaLink="false">https://medium.com/p/49dfc9fe3d5c</guid>
            <category><![CDATA[millennials]]></category>
            <category><![CDATA[change]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[sex-education]]></category>
            <category><![CDATA[retirement]]></category>
            <dc:creator><![CDATA[Denisse Damian]]></dc:creator>
            <pubDate>Mon, 24 Aug 2020 13:31:01 GMT</pubDate>
            <atom:updated>2020-08-24T13:31:01.473Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L1U8t091Jt0_6N6LW0B8wg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@northfolk?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">NORTHFOLK</a> on <a href="https://unsplash.com/t/business-work?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Es normal pensar que para mejorar nuestra vida se necesita una gran inversión de tiempo, dinero o esfuerzo pero este no es necesariamente el caso.</p><h3><strong>Seleccionar una Afore</strong></h3><blockquote>14.3 millones de personas de la generación millennial no cuentan con una Afore.</blockquote><p>El Afore es tu fondo de retiro y el <strong>no darte de alta, está ocasionado que pierdas dinero</strong>. Cuando estás registrado ante el IMSS, tu empleador ya está aportando para tu retiro pero en un fondo gubernamental,<em> el cual no tiene intereses ni beneficios</em>. El darte de alta en alguna Afore te podrá dar beneficios como; generación de intereses, apoyo por desempleo, apoyo al casarte, entre otros. En México es una práctica común que tu empleador te tenga registrado ante el IMSS con un sueldo menor, aunque esto sea mejor a corto plazo; a largo plazo tus beneficios y retiro se verán perjudicados. Por lo que te recomiendo dar una aportación voluntaria mensualmente.</p><p>Recursos:<a href="https://www.gob.mx/consar/articulos/como-me-registro-en-una-afore"> ¿Cómo me registro en una afore?</a></p><p>Tiempo invertido: <strong>30 minutos en darme de alta</strong></p><h3>Filtrar tus fuentes de información</h3><p>No tomes un tweet como la verdad absoluta. No hay fuente de información que esté exenta de cometer errores o de presentar sesgos en sus reportes; aunque algunas fuentes dedican muchos más recursos a investigar los hechos. El autor israelí Yuval Noah Harari presenta dos reglas para el consumo de información: <strong>paga por tu información </strong>y si algún tema es importante para ti, <strong>busca evidencia científica.</strong></p><p>Busca distintos puntos de vista antes de formar una opinión. Mientras que mis gustos puedan no coincidir con los tuyos, estas son mis principales fuentes de información.</p><p>Recursos: <a href="https://www.forbes.com.mx/">Forbes México</a>, <a href="https://aristeguinoticias.com/">Carmen Aristegui</a>, <a href="https://www.proceso.com.mx/">Proceso</a>, <a href="https://www.nytimes.com/">The New York Times</a>, <a href="https://www.jstor.org/">JSTOR</a>, <a href="https://hbr.org/">HBR</a></p><p>Tiempo invertido: <strong>30 minutos en filtrar, 30 minutos en seleccionar</strong></p><h3>Educación Sexual</h3><blockquote><a href="https://www.gob.mx/inmujeres/acciones-y-programas/estrategia-nacional-para-la-prevencion-del-embarazo-en-adolescentes-33454#:~:text=junio%20de%202020-,El%20embarazo%20en%20adolescentes%20es%20un%20fen%C3%B3meno%20que%20ha%20cobrado,de%2015%20a%2019%20a%C3%B1os">Actualmente México ocupa el primer lugar de embarazos adolescentes</a>, dejando en evidencia el fracaso de la educación sexual en el país.</blockquote><p>Si tienes más de 15 años es tu responsabilidad informarte. El tener todas las vacunas, tener suficiente higiene, saber las limitantes de tu cuerpo, los riesgos y precauciones que se deben de tener es <strong>tu responsabilidad. </strong>Al informarte no sólo estás previendo embarazos; estás previendo tu salud y la de todos. Mientras que Google es una excelente fuente de información para este tema; no confíes en foros ni blogs, <strong>aclara tus dudas con un profesional de la salud.</strong></p><p>Recursos: <a href="https://www.doctoralia.com.mx/">Doctoralia</a></p><p>Tiempo invertido: <strong>1 hora y media de consulta</strong></p><p>Con <strong>sólo 3 horas</strong> podrás implementar mejoras en tu vida que te van a permitir mejorar tu futuro económico, tu conocimiento y lo más importante tu salud.</p><p><em>Edición : Frida Damián, Fabiola Arroyo</em></p><p><a href="https://denisse.ck.page/1efd280d79"><strong>Suscríbete a mi newsletter para recibir la guía de supervivencia para los millennials</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49dfc9fe3d5c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>