<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Cleber Rodrigues</title>
    <description>The latest articles on Forem by Cleber Rodrigues (@clebermasters).</description>
    <link>https://forem.com/clebermasters</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F854360%2F229ef544-3855-4b44-bf45-974f2bb97e50.png</url>
      <title>Forem: Cleber Rodrigues</title>
      <link>https://forem.com/clebermasters</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/clebermasters"/>
    <language>en</language>
    <item>
      <title>Understanding the Basics of Python</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Sun, 17 Sep 2023 14:18:41 +0000</pubDate>
      <link>https://forem.com/clebermasters/understanding-the-basics-of-python-5a3l</link>
      <guid>https://forem.com/clebermasters/understanding-the-basics-of-python-5a3l</guid>
      <description>&lt;h1&gt;
  
  
  Introduction to Python
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Understanding the Basics of Python
&lt;/h2&gt;

&lt;p&gt;Python is an interpreted, object-oriented, high-level programming language with built-in dynamic semantics. It was created by Guido van Rossum and introduced in 1991. Known for its simplicity, it lets you focus more on problem-solving rather than syntax errors.&lt;/p&gt;

&lt;p&gt;The very basics of Python start from learning about data types including integers, float (decimal), string (text), and boolean (True or False). These are the building blocks for programming in python.&lt;/p&gt;

&lt;p&gt;Next step involves understanding control structures such as if-else conditions for decision making and loops like for and while for performing repetitive tasks. Functions are another integral part of Python where a piece of code can be reused.&lt;/p&gt;

&lt;p&gt;Finally understanding the principles behind error handling, importing libraries or modules completes a foundation in python programming.&lt;/p&gt;

&lt;p&gt;In sum, mastering these concepts builds a solid base to begin scripting in Python. Other aspects like file operations and database connections can be learned once you're comfortable with the basics. The journey towards becoming a proficient Python programmer begins here!# Reasons to Learn Python&lt;/p&gt;

&lt;h2&gt;
  
  
  The Advantages of Learning Python for Professional Growth
&lt;/h2&gt;

&lt;p&gt;Learning Python offers immense advantages from various aspects. It is one of the most sought after programming languages and learning it can open doors to a myriad of opportunities.&lt;/p&gt;

&lt;p&gt;Python is extensively used in Data Science which is one of the fastest growing fields today. It has libraries like NumPy, Pandas, SciPy that serve as powerful tools in handling, processing and analyzing massive data.&lt;/p&gt;

&lt;p&gt;Also, Machine Learning and Artificial Intelligence are largely powered by Python. Libraries like TensorFlow and Keras have made implementing ML models easier than ever.&lt;/p&gt;

&lt;p&gt;Apart from this, Python also finds huge application in web development. Frameworks like Django and Flask allow quick and efficient building of web applications.&lt;/p&gt;

&lt;p&gt;Python's simple syntax makes it an excellent language for beginners in programming. Its vast community ensures availability of resources as well as assistance whenever required.&lt;/p&gt;

&lt;p&gt;Incorporating Python into your skillset will significantly augment your value as a professional in the software industry.&lt;/p&gt;

&lt;h1&gt;
  
  
  Steps to Mastering Basic Python
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Effective Approaches in Becoming an Efficient Python Programmer
&lt;/h2&gt;

&lt;p&gt;Learning any programming language, including Python, is a journey that involves building upon the basics and moving towards more complex concepts gradually. Here are some effective approaches to mastering Python:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Spend Quality Time with Python Basics:&lt;/strong&gt; Understanding data types and control structures should be your initial focus. It's essential to get hands-on experience by writing code for small tasks or challenges.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Follow Online Tutorials/Courses:&lt;/strong&gt; There are several online courses that are designed around absolute beginners. Websites like Coursera, Udemy, Codecademy etc., offer comprehensive and step-by-step lessons on Python from scratch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Practice Coding Daily:&lt;/strong&gt; Consistency is key when learning a new skill. Practicing coding problems daily helps build muscle memory and improves problem-solving skills.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Work on Mini-Projects:&lt;/strong&gt; This not only helps in applying what you've learned but also familiarizes you with how different components of python come together to develop a software/scipts solution.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;5.&lt;strong&gt;Learn About Error Handling &amp;amp; Debugging:&lt;/strong&gt; Errors are inevitable in coding journey. Apportion time to learn about error handling and debugging techniques in python.&lt;/p&gt;

&lt;p&gt;6.&lt;strong&gt;Join Python Communities&lt;/strong&gt;: Engaging in active communities can provide guidance, constructive feedback, latest updates and opens up opportunities for collaborations on projects.&lt;/p&gt;

&lt;p&gt;In a nutshell, through regular practice sessions blended with steady learning can help you excel at python programming!# Advanced Topics in Python&lt;/p&gt;

&lt;h2&gt;
  
  
  Exploring Deeper Concepts and Features Offered by Python
&lt;/h2&gt;

&lt;p&gt;Once you've established a solid foundation in basic Python, it's time to explore more advanced concepts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Object Oriented Programming (OOP):&lt;/strong&gt; Python is an object-oriented language and learning about classes, objects, inheritance etc., is crucial when working a large codebase.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Libraries and Frameworks:&lt;/strong&gt; Utilizing various libraries like Numpy for numerical calculation, Matplotlib or Seaborn for visualization, Pandas for data manipulation &amp;amp; analysis etc can enhance your abilities as a programmer. Web development frameworks like Django or Flask are key skills that make you industry ready.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Structures &amp;amp; Algorithms:&lt;/strong&gt; Understanding these fundamental computer science concepts are essential for efficient coding especially when dealing with large amounts of data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;File Handling &amp;amp; Database Connection:&lt;/strong&gt; Learning how to manipulate files (reading from and writing into) as well as connecting to various kind of databases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unit Testing :&lt;/strong&gt; Testing plays a vital part in professional programming to ensure your code works correctly under all cases by subjecting them to rigorous testing scenarios.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Concurrent Programming :&lt;/strong&gt; Learn about threading, multiprocessing etc., To utilize the full potential of modern multi-core processors.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Expanding your knowledge beyond basics and learning these advanced topics pushes you one step ahead towards becoming proficient with Python programming! Our next step would be looking at some handy tools that every Python programmer should know about!# Useful Tools for Python Coding&lt;/p&gt;

&lt;h2&gt;
  
  
  Utilize Resources That Enhances Your Python Programming Skill
&lt;/h2&gt;

&lt;p&gt;The process of learning doesn't end upon gaining mastery over a programming language. An efficient programmer always keeps exploring handy tools. The same logic applies to Python programming as well.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Integrated Development Environments (IDEs) &amp;amp; Text Editors:&lt;/strong&gt; Tools like PyCharm, Jupyter Notebook, Visual Studio Code, Sublime Text, etc., provide an excellent interface for code development with features like syntax highlighting, autocompletion and debugging tools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Version Control Systems:&lt;/strong&gt; Software like Git can effectively manage your code versions, maintain repositories, and facilitate effective collaboration on big projects.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code Formatters &amp;amp; Linters:&lt;/strong&gt; Tools such as Black or Pylint help you write more readable and standardized code according to PEP 8 (Python Enhancement Proposals).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Virtual Environments:&lt;/strong&gt; Libraries like Virtualenv allow you to create isolated Python environments for different projects, ensuring that dependencies don’t interfere with each other.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated Testing Frameworks:&lt;/strong&gt; Unit testing frameworks like PyTest or libraries such as Mock will aid in writing test cases and performing extensive validation on your application.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Package Managers :&lt;/strong&gt; pip is the default package manager for Python which helps in installing other python packages/libraries that are not part of the standard library.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Collectively these will make your journey in python programming smoother and much more organized!&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;Python is a powerful language that can stretch as far as our imagination goes - whether simple automation tasks to controlling advanced robotics, machine learning algorithms to web scraping solutions, scientific simulations to data analytics tools - Python has got you covered everywhere!&lt;/p&gt;

&lt;p&gt;However, remember that "Rome wasn't built in a day" - every proficient coder today started where you are now. Python has an elegant simplicity enables anyone dedicated, patient, and motivated enough - to master it! Prepare a structured learning plan, practice daily, build projects, and, more importantly, enjoy your journey of coding in Python!&lt;/p&gt;

&lt;p&gt;And when you find yourself stuck somewhere, remember there's a vast community of Pythonistas out there willing to help. Always keep the spirit of learning alive, and Happy Coding! &lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

</description>
      <category>python</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>programming</category>
    </item>
    <item>
      <title>How to achieve DevSecOps with GitLab CI/CD</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Thu, 14 Sep 2023 20:46:26 +0000</pubDate>
      <link>https://forem.com/clebermasters/how-to-achieve-devsecops-with-gitlab-cicd-5bdn</link>
      <guid>https://forem.com/clebermasters/how-to-achieve-devsecops-with-gitlab-cicd-5bdn</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is DevSecOps?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;DevSecOps is a software development and delivery approach that integrates security into the DevOps lifecycle. This means that security is considered at every stage of the development process, from planning and design to coding, testing, and deployment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why is DevSecOps important?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;DevSecOps is important because it helps to reduce the risk of security vulnerabilities being introduced into software applications. By integrating security into the DevOps lifecycle, teams can identify and fix security issues early on, before they become more difficult and expensive to fix.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How can GitLab CI/CD be used to achieve DevSecOps?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GitLab CI/CD is a powerful tool that can be used to achieve DevSecOps by automating the security testing process. GitLab CI/CD pipelines can be configured to run a variety of security tests, such as static code analysis, dynamic application security testing, and container scanning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are some of the benefits of using GitLab CI/CD for DevSecOps?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There are many benefits to using GitLab CI/CD for DevSecOps, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Increased security:&lt;/strong&gt; GitLab CI/CD can help to improve the security of software applications by automating security testing and making it easier to identify and fix security issues.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reduced risk:&lt;/strong&gt; By identifying and fixing security issues early on, GitLab CI/CD can help to reduce the risk of security breaches and other security incidents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Faster time to market:&lt;/strong&gt; GitLab CI/CD can help to reduce the time it takes to release new software features by automating the security testing process.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Improved compliance:&lt;/strong&gt; GitLab CI/CD can help organizations to comply with security regulations by providing a centralized and auditable record of security testing activities.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How to get started with DevSecOps using GitLab CI/CD?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To get started with DevSecOps using GitLab CI/CD, you will need to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Set up GitLab CI/CD pipelines for your projects.&lt;/li&gt;
&lt;li&gt;Add security tests to your CI/CD pipelines.&lt;/li&gt;
&lt;li&gt;Configure GitLab to fail builds if security tests fail.&lt;/li&gt;
&lt;li&gt;Train your team on DevSecOps practices.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Here are some additional tips for achieving DevSecOps with GitLab CI/CD:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Start small:&lt;/strong&gt; Don't try to automate all of your security testing at once. Start by automating a few key tests and then gradually add more tests over time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use a variety of security tests:&lt;/strong&gt; There are many different types of security tests available, so it's important to use a variety of tests to get a comprehensive view of the security of your software applications.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrate security into your CI/CD pipelines:&lt;/strong&gt; Make sure to add security tests to your CI/CD pipelines so that they are run automatically on every build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fail builds on security test failures:&lt;/strong&gt; This will help to ensure that security vulnerabilities are not introduced into production.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Train your team:&lt;/strong&gt; Make sure that your team is trained on DevSecOps practices so that they understand the importance of security and how to integrate security into their work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By following these tips, you can use GitLab CI/CD to achieve DevSecOps and improve the security of your software applications.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>development</category>
      <category>security</category>
      <category>aws</category>
    </item>
    <item>
      <title>Guide: AWS Lambda + Pillow for Complex Image Processing</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Tue, 16 May 2023 20:51:40 +0000</pubDate>
      <link>https://forem.com/clebermasters/guide-aws-lambda-pillow-for-complex-image-processing-2n45</link>
      <guid>https://forem.com/clebermasters/guide-aws-lambda-pillow-for-complex-image-processing-2n45</guid>
      <description>&lt;p&gt;In today’s digital landscape, images convey information, evoke emotions, and drive engagement. From social media platforms to e-commerce sites, businesses rely heavily on captivating images to secure their target audience’s attention. However, managing and processing these images can be challenging, demanding technical expertise and computational resources.&lt;/p&gt;

&lt;p&gt;Imagine this scenario: A rapidly growing online marketplace is experiencing an influx of new products daily. The platform requires high-quality product images for display but struggles with size inconsistencies and varied file formats from different vendors. The company seeks an automated solution to resize uploaded images while maintaining quality resolutions to streamline the process and reduce manual intervention.&lt;/p&gt;

&lt;p&gt;Enter AWS Lambda functions coupled with the powerful Python library — Pillow!&lt;/p&gt;

&lt;p&gt;In this tutorial, we will walk you through integrating Pillow — a renowned image processing library — into your AWS Lambda function to create an optimized image resizing solution that addresses your complex problem effectively.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;*&lt;em&gt;Note: This tutorial assumes a basic understanding of AWS Lambda functions and Python programming language.&lt;/em&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 1: Preparing Your Python Environment with Shared Libraries (Pillow)
&lt;/h2&gt;

&lt;p&gt;By installing the Pillow module into the specific folder &lt;code&gt;./python/lib/python3.10/site-packages/&lt;/code&gt;, we ensure that AWS Lambda can quickly locate and access the library during runtime. It also helps us maintain a clean and organized project structure, as AWS Lambda expects libraries to be in this folder for Python 3.10 runtime (check your runtime version).&lt;/p&gt;

&lt;p&gt;Now that you understand why we target this specific folder, let’s proceed with creating our image resizing solution using AWS Lambda and Pillow:&lt;/p&gt;

&lt;p&gt;1a. Open your terminal or command prompt and navigate to your desired project directory.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
cd /path/to/your/project-folder

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;1b. Create a new folder named python in your project directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
mkdir python

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;1c. Within the python folder, create another folder named lib. Inside it, create another one called python3.10. And finally, one last folder called site-packages inside the previous one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
mkdir -p python/lib/python3.10/site-packages/

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;1d. Now that you have created the appropriate directory structure for your Python libraries, install Pillow in the targeted location by executing this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
pip3 install pillow -t ./python/lib/python3.10/site-packages/

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command installs the Pillow module into the specified path (&lt;code&gt;./python/lib/python3.10/site-packages/&lt;/code&gt;) within your project’s directory structure.&lt;/p&gt;

&lt;p&gt;In Step 4, you must zip that folder to create the Layer for your Lambda Function.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Implementing Your Image Resizing Function
&lt;/h2&gt;

&lt;p&gt;2a. In parallel to your “python” folder, create a new Python file named lambda_function.py:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
touch lambda_function.py

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;2b. Open the lambda_function.py file using your favorite code editor and add the following code snippet:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
import os
import boto3
from PIL import Image

def resize_image(image_path, resized_path):
    with Image.open(image_path) as image:
        image.thumbnail((800, 800))
        image.save(resized_path)

def lambda_handler(event, context):
    s3_client = boto3.client('s3')

    for record in event['Records']:
        bucket_name = record['s3']['bucket']['name']
        key_name = record['s3']['object']['key']

        download_path = '/tmp/{}'.format(os.path.basename(key_name))
        upload_path = '/tmp/resized-{}'.format(os.path.basename(key_name))

        s3_client.download_file(bucket_name, key_name, download_path)

        resize_image(download_path, upload_path)

        s3_client.upload_file(upload_path, bucket_name, 'resized-{}'.format(key_name))

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This code defines an AWS Lambda handler that listens for new images uploaded to your desired S3 bucket. For each image detected, it will automatically download the file to the temporary Lambda environment storage ( &lt;strong&gt;/tmp&lt;/strong&gt; ), resize it using Pillow’s thumbnail method (to a maximum width or height of &lt;strong&gt;800 pixels&lt;/strong&gt; ), and save the resized version locally &lt;code&gt;/tmp&lt;/code&gt;, and re-upload it to the same &lt;a href="https://www.bitslovers.com/exploring-the-power-and-features-of-amazon-s3/"&gt;S3 bucket&lt;/a&gt; with a ‘ &lt;strong&gt;resized-&lt;/strong&gt; ‘ prefix.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 3: Creating Your AWS Lambda Layer for Pillow&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Now that our Python function is ready, let’s package our Pillow library into an AWS Lambda layer.&lt;/p&gt;

&lt;p&gt;Create a zip archive of your &lt;code&gt;./python/lib/python3.10/site-packages/&lt;/code&gt; folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
zip -r pillow_layer.zip python

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command compresses the contents of the whole python folder in which Pillow is located (&lt;code&gt;./python/lib/python3.10/site-packages/&lt;/code&gt;) into a single &lt;code&gt;pillow_layer.zip&lt;/code&gt; file.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 4: Deploying Your AWS Lambda Function and Layer&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;4a. Log in to your AWS Management Console, and navigate to the &lt;a href="https://console.aws.amazon.com/lambda"&gt;Lambda console&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;4b. Click “Layers” from the left menu, then click “Create Layer”.&lt;/p&gt;

&lt;p&gt;4c. Enter a name for your new layer (e.g., “ &lt;strong&gt;PillowLayer&lt;/strong&gt; “), provide a description, &lt;strong&gt;upload &lt;code&gt;pillow_layer.zip&lt;/code&gt;&lt;/strong&gt; , choose Python 3.10 as the compatible runtime, and click “Create”.&lt;/p&gt;

&lt;p&gt;4d. Next, navigate to the Functions tab and create a new Lambda function. Select Python 3.10 as the runtime environment.&lt;/p&gt;

&lt;p&gt;Add an &lt;a href="https://www.bitslovers.com/s3-events-with-event-bus-routing-and-filtering/"&gt;S3 trigger&lt;/a&gt; with appropriate access permissions to use your preferred bucket for image uploads.&lt;/p&gt;

&lt;p&gt;4e.Add your newly created PillowLayer by clicking ‘Add Layer’ in the function designer pane.&lt;/p&gt;

&lt;p&gt;Upload or write inline code for ‘ &lt;strong&gt;lambda_function.py&lt;/strong&gt; ‘ when prompted during function creation and configure appropriate rights for accessing &lt;a href="https://www.bitslovers.com/exploring-the-power-and-features-of-amazon-s3/"&gt;S3&lt;/a&gt; resources via IAM role management.&lt;/p&gt;

&lt;p&gt;Save settings when done.&lt;/p&gt;

&lt;h2&gt;
  
  
  Shared Library Object
&lt;/h2&gt;

&lt;p&gt;The Pillow library requires a shared library to work correctly. You may face some issues like this one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[ERROR] ImportError: /lib64/libz.so.1: version ZLIB_1.2.9' not found (required by /opt/python/lib/python3.10/site-packages/PIL/../Pillow.libs/libpng16-cb42a3c6.so.16.39.0) Traceback (most recent call last): File "/var/task/lambda_function.py", line 37, in lambda_handler render.render(output_file) File "/var/task/render.py", line 59, in render font = ImageFont.truetype("arial.ttf", int(obj['fontSize'])) File "/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py", line 996, in truetype return freetype(font) File "/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py", line 993, in freetype return FreeTypeFont(font, size, index, encoding, layout_engine) File "/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py", line 220, in __init__ if core.HAVE_RAQM: File "/opt/python/lib/python3.10/site-packages/PIL/_util.py", line 19, in __getattr__ raise self.ex File "/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py", line 58, in &amp;lt;module&amp;gt; from . import _imagingft as core [ERROR] ImportError: /lib64/libz.so.1: version ZLIB_1.2.9' not found (required by /opt/python/lib/python3.10/site-packages/PIL/../Pillow.libs/libpng16-cb42a3c6.so.16.39.0) Traceback (most recent call last): File "/var/task/lambda_function.py", line 37, in lambda_handler render.render(output_file) File "/var/task/render.py", line 59, in render font = ImageFont.truetype("arial.ttf", int(obj['fontSize'])) File "/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py", line 996, in truetype return freetype(font) File "/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py", line 993, in freetype return FreeTypeFont(font, size, index, encoding, layout_engine) File "/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py", line 220, in init if core.HAVE_RAQM: File "/opt/python/lib/python3.10/site-packages/PIL/_util.py", line 19, in getattr raise self.ex File "/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py", line 58, in &amp;lt;module&amp;gt; from . import _imagingft as core
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://www.bitslovers.com/wp-content/uploads/2023/05/image-1.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lwv9QVki--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://www.bitslovers.com/wp-content/uploads/2023/05/image-1-1024x517.png" alt="[ERROR] ImportError: /lib64/libz.so.1: version ZLIB_1.2.9' not found (required by /opt/python/lib/python3.10/site-packages/PIL/../Pillow.libs/libpng16-cb42a3c6.so.16.39.0) Traceback (most recent call last): File &amp;quot;/var/task/lambda_function.py&amp;quot;, line 37, in lambda_handler render.render(output_file) File &amp;quot;/var/task/render.py&amp;quot;, line 59, in render font = ImageFont.truetype(&amp;quot;arial.ttf&amp;quot;, int(obj['fontSize'])) File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py&amp;quot;, line 996, in truetype return freetype(font) File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py&amp;quot;, line 993, in freetype return FreeTypeFont(font, size, index, encoding, layout_engine) File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py&amp;quot;, line 220, in __init__ if core.HAVE_RAQM: File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/_util.py&amp;quot;, line 19, in __getattr__ raise self.ex File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py&amp;quot;, line 58, in &amp;lt;module&amp;gt; from . import _imagingft as core [ERROR] ImportError: /lib64/libz.so.1: version ZLIB_1.2.9' not found (required by /opt/python/lib/python3.10/site-packages/PIL/../Pillow.libs/libpng16-cb42a3c6.so.16.39.0) Traceback (most recent call last): File &amp;quot;/var/task/lambda_function.py&amp;quot;, line 37, in lambda_handler render.render(output_file) File &amp;quot;/var/task/render.py&amp;quot;, line 59, in render font = ImageFont.truetype(&amp;quot;arial.ttf&amp;quot;, int(obj['fontSize'])) File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py&amp;quot;, line 996, in truetype return freetype(font) File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py&amp;quot;, line 993, in freetype return FreeTypeFont(font, size, index, encoding, layout_engine) File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py&amp;quot;, line 220, in init if core.HAVE_RAQM: File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/_util.py&amp;quot;, line 19, in getattr raise self.ex File &amp;quot;/opt/python/lib/python3.10/site-packages/PIL/ImageFont.py&amp;quot;, line 58, in &amp;lt;module&amp;gt; from . import _imagingft as core" width="" height=""&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The error: Missing Pillow dependency&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This error occurs because Pillow has dependencies on specific shared libraries that are either unavailable or incompatible with the AWS Lambda environment. In this case, Pillow requires the &lt;code&gt;libz.so.1&lt;/code&gt; library with a specific version (ZLIB_1.2.9), which is missing or incompatible with AWS Lambda’s default environment.&lt;/p&gt;

&lt;p&gt;To resolve this issue, we need to load the necessary shared libraries for Pillow and configure the environment variable so that our Python code can locate them properly.&lt;/p&gt;
&lt;h3&gt;
  
  
  &lt;strong&gt;Step 5A: Include Missing Shared Libraries&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;5a-1) Create a new “ &lt;strong&gt;lib&lt;/strong&gt; ” folder in the root of your lambda function:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
mkdir lib

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;5a-2) Download or compile the required &lt;strong&gt;Zlib&lt;/strong&gt; library (&lt;code&gt;libz.so.1&lt;/code&gt;) compatible with &lt;strong&gt;Amazon Linux 2&lt;/strong&gt; environments. After obtaining it, place it into your project’s newly created “lib” folder.&lt;/p&gt;

&lt;h3&gt;
  
  
  Add a new environment variable.
&lt;/h3&gt;

&lt;p&gt;You must add a new variable called &lt;code&gt;LD_LIBRARY_PATH&lt;/code&gt; to include &lt;code&gt;/var/task/lib&lt;/code&gt;. It ensures that Python knows where to find any provided shared objects when checking for dependencies during the runtime execution of AWS Lambda functions.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 5: Testing Your Image Processing Solution&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Finally, upload an image file into your specified S3 bucket as per the event trigger configuration set in the lambda.&lt;/p&gt;

&lt;p&gt;AWS Lambda will automatically process and resize it using your implemented resizing function powered by Pillow!&lt;/p&gt;

&lt;p&gt;You can verify its performance by checking that the resized image was successfully uploaded with a ‘resized-‘ prefix in its filename within the same S3 bucket.&lt;/p&gt;

&lt;p&gt;That’s it! You’ve successfully leveraged AWS Lambda functions and Pillow’s capabilities to overcome complex image-processing challenges.&lt;/p&gt;

&lt;h2&gt;
  
  
  📣 Attention Aspiring Cloud Professionals! 📣
&lt;/h2&gt;

&lt;p&gt;We have the perfect tool to supercharge your cloud knowledge journey – introducing our “&lt;a href="https://www.bitslovers.com/aws-learnking-about-landing-page/"&gt;AWS Learning Kit&lt;/a&gt;.” It’s FREE and designed to provide a comprehensive understanding of Amazon Web Services (AWS), the world’s leading cloud platform.&lt;/p&gt;

&lt;p&gt;This is your chance to be part of the future. With more and more businesses migrating to the cloud daily, the demand for professionals navigating and optimizing these digital environments is soaring. That’s where AWS comes in. The skills you can gain from mastering AWS are essential to propel your career to the next level in this cloud-centric world.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.bitslovers.com/aws-learnking-about-landing-page/"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--o_4C90xq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://www.bitslovers.com/wp-content/uploads/2023/03/vpc-mind-map-001.gif" alt="AWS Learning Kit - VPC Mind Map" width="" height=""&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;AWS Learning Kit – VPC Mind Map&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Our &lt;a href="https://www.bitslovers.com/aws-learnking-about-landing-page/"&gt;AWS Learning Kit&lt;/a&gt; is a treasure trove of resources, comprising 20 detailed Mind Maps that visually organize the complex world of AWS into an understandable and digestible format. But we didn’t stop there! The Kit also provides 260 carefully crafted Questions with in-depth Answers designed to test your knowledge and prepare you for real-world challenges.&lt;/p&gt;

&lt;p&gt;Don’t let this opportunity slip away! Grab the AWS Learning Kit and kickstart your journey to becoming a cloud expert. There is no better time than NOW to invest in your future.&lt;/p&gt;

&lt;p&gt;🚀 Download the FREE &lt;a href="https://www.bitslovers.com/aws-learnking-about-landing-page/"&gt;AWS Learning Kit&lt;/a&gt; today and take a giant leap toward a promising future in the Cloud. 🚀&lt;/p&gt;

&lt;p&gt;Your future self will thank you.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.bitslovers.com/aws-learnking-about-landing-page/"&gt;Download AWS Learning Kit Here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let’s make your Cloud dreams a reality together.&lt;/p&gt;

&lt;p&gt;The post &lt;a href="https://www.bitslovers.com/guide-aws-lambda-pillow-for-complex-image-processing/"&gt;Guide: AWS Lambda + Pillow for Complex Image Processing&lt;/a&gt; appeared first on &lt;a href="https://www.bitslovers.com"&gt;Bits Lovers&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>cloudcomputing</category>
      <category>aws</category>
      <category>python</category>
    </item>
    <item>
      <title>AWS Learning Kit</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Thu, 23 Feb 2023 03:46:20 +0000</pubDate>
      <link>https://forem.com/clebermasters/aws-learning-kit-3n3i</link>
      <guid>https://forem.com/clebermasters/aws-learning-kit-3n3i</guid>
      <description>&lt;p&gt;Boost your AWS Skills!&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/-4bZdDffwbY"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.bitslovers.com/aws-learnking-about-landing-page/"&gt;AWS Learning Kit&lt;/a&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>aws</category>
      <category>tutorial</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Ensure Data Compliance &amp; Security with S3 Object Lock</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Wed, 22 Feb 2023 01:40:35 +0000</pubDate>
      <link>https://forem.com/clebermasters/ensure-data-compliance-security-with-s3-object-lock-1h1p</link>
      <guid>https://forem.com/clebermasters/ensure-data-compliance-security-with-s3-object-lock-1h1p</guid>
      <description>&lt;h2&gt;
  
  
  Ensure Data Compliance &amp;amp; Security with S3 Object Lock
&lt;/h2&gt;

&lt;p&gt;Read the original article:&lt;br&gt;
&lt;a href="https://www.bitslovers.com/s3-object-lock/" rel="noopener noreferrer"&gt;Ensure Data Compliance &amp;amp; Security with S3 Object Lock&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Amazon S3 Object Lock is a feature that helps you to prevent your data from being deleted or overwritten. It helps you to comply with regulations that require write-once-read-many (WORM) storage, and it can also protect you from accidental or malicious deletion of data. With S3 Object Lock, you can store objects using a write-once-read-many (WORM) model. Once an object is locked, it cannot be modified or deleted.&lt;/p&gt;

&lt;p&gt;Here are some of the benefits of using S3 Object Lock:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Protect against accidental or malicious deletion: S3 Object Lock can help you to protect your data from accidental or malicious deletion by locking the object so that it cannot be modified or deleted.&lt;/li&gt;
&lt;li&gt;Ensure data compliance: S3 Object Lock can help you to comply with regulations that require WORM storage.&lt;/li&gt;
&lt;li&gt;Flexibility: S3 Object Lock provides two modes of locking: Governance mode and Compliance mode. In Governance mode, users with specific permissions can delete locked objects. In Compliance mode, only the AWS account that owns the object can delete it.&lt;/li&gt;
&lt;li&gt;Configurable retention periods: You can configure retention periods for objects in S3 Object Lock, and once an object is locked, the retention period cannot be shortened.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In summary, by using S3 Object Lock, you can ensure that your data is compliant and secure. If you need to meet regulatory requirements, or you want to protect your data from accidental or malicious deletion, S3 Object Lock is a great feature to consider.&lt;/p&gt;

&lt;p&gt;In addition to the benefits listed above, S3 Object Lock can also be used in a variety of scenarios to protect your data. Here are some examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Compliance with data retention laws: Many industries have regulations that require data to be retained for a specific period of time. S3 Object Lock can help ensure that data is not deleted or modified before the retention period is over.&lt;/li&gt;
&lt;li&gt;Protection against ransomware attacks: Ransomware attacks can encrypt your data and demand a ransom for its release. With S3 Object Lock, you can prevent attackers from modifying or deleting your data, even if they gain access to your account.&lt;/li&gt;
&lt;li&gt;Protection against accidental deletion: Accidental deletion of data can happen, but with S3 Object Lock, you can prevent this from happening by locking the object so that it cannot be modified or deleted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When configuring S3 Object Lock, it's important to understand the different modes of locking available. Governance mode allows specific users to delete locked objects, while Compliance mode only allows the AWS account that owns the object to delete it. It's important to choose the right mode based on your specific use case and compliance requirements.&lt;/p&gt;

&lt;p&gt;Overall, S3 Object Lock is a powerful feature that can help ensure data compliance and security. By using S3 Object Lock, you can protect your data from accidental or malicious deletion, comply with regulatory requirements, and ensure that your data is secure.&lt;/p&gt;

&lt;p&gt;Here are some key takeaways to remember:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;S3 Object Lock is a feature that helps prevent data from being deleted or overwritten.&lt;/li&gt;
&lt;li&gt;S3 Object Lock can help ensure compliance with regulations that require WORM storage.&lt;/li&gt;
&lt;li&gt;S3 Object Lock can be used to protect against accidental or malicious deletion, as well as ransomware attacks.&lt;/li&gt;
&lt;li&gt;It's important to choose the right mode of locking based on your specific use case and compliance requirements.&lt;/li&gt;
&lt;li&gt;With S3 Object Lock, you can ensure that your data is compliant and secure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Read the original article:&lt;br&gt;
&lt;a href="https://www.bitslovers.com/s3-object-lock/" rel="noopener noreferrer"&gt;Ensure Data Compliance &amp;amp; Security with S3 Object Lock&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>softwaredevelopment</category>
      <category>security</category>
      <category>devops</category>
    </item>
    <item>
      <title>Securing Your S3 Buckets with Powerful Monitoring Tools</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Fri, 17 Feb 2023 01:02:39 +0000</pubDate>
      <link>https://forem.com/clebermasters/securing-your-s3-buckets-with-powerful-monitoring-tools-4ckg</link>
      <guid>https://forem.com/clebermasters/securing-your-s3-buckets-with-powerful-monitoring-tools-4ckg</guid>
      <description>&lt;p&gt;With the amount of data stored on cloud storage systems like Amazon S3, security is of paramount importance. It is essential to ensure that no malicious actors can access your data, and that any access is monitored and tracked. This can be done through the use of powerful monitoring tools. These tools can detect any unauthorized access, as well as provide detailed logs of who accessed what data and when. In addition, they can also alert you to any suspicious activity, allowing you to take immediate action.&lt;/p&gt;

&lt;p&gt;In this post, we will look at some of the most popular monitoring tools for S3 buckets, their features, and how to set them up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Popular Monitoring Tools
&lt;/h2&gt;

&lt;p&gt;The following tools are the most popular for monitoring S3 buckets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AWS Cloudwatch&lt;/li&gt;
&lt;li&gt;CloudSploit&lt;/li&gt;
&lt;li&gt;Sumo Logic&lt;/li&gt;
&lt;li&gt;Splunk&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  AWS Cloudwatch
&lt;/h3&gt;

&lt;p&gt;Cloudwatch is Amazon's all-in-one monitoring tool. It provides a wide range of features, including real-time monitoring of S3 buckets, detailed logs, and alerting functions. It can also provide graphical representations of your data, making it easier to analyze.&lt;/p&gt;

&lt;h3&gt;
  
  
  CloudSploit
&lt;/h3&gt;

&lt;p&gt;CloudSploit is a cloud-based security scanning tool. It can scan your S3 buckets for various security issues, such as unauthorized access, weak encryption, and misconfigured access control. It also offers detailed logs and alerting functions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Sumo Logic
&lt;/h3&gt;

&lt;p&gt;Sumo Logic is a cloud-based log analytics tool. It can monitor and analyze your S3 buckets in real-time, and provide detailed logs of who accessed what data and when. It also offers alerting functions, allowing you to take immediate action when needed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Splunk
&lt;/h3&gt;

&lt;p&gt;Splunk is a cloud-based log analysis tool. It can monitor and analyze your S3 buckets in real-time, and provide detailed logs of who accessed what data and when. It also offers alerting functions, allowing you to take immediate action when needed.&lt;/p&gt;

&lt;p&gt;Read More&lt;br&gt;
&lt;a href="https://www.bitslovers.com/securing-your-s3-buckets-with-powerful-monitoring-tools/"&gt;Securing Your S3 Buckets with Powerful Monitoring Tools &lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>aws</category>
      <category>s3</category>
    </item>
    <item>
      <title>Why Terraform is an essential tool for DevOps Engineers</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Wed, 15 Feb 2023 23:54:45 +0000</pubDate>
      <link>https://forem.com/clebermasters/why-terraform-is-an-essential-tool-for-devops-engineers-1ff3</link>
      <guid>https://forem.com/clebermasters/why-terraform-is-an-essential-tool-for-devops-engineers-1ff3</guid>
      <description>&lt;p&gt;Terraform is an open-source “Infrastructure as Code” tool. It allows you to define and manage your infrastructure automatedly. With Terraform, you can write and maintain reusable code for provisioning cloud infrastructure, like servers and databases, on multiple providers such as AWS, Google Cloud Platform, and Azure. This makes it easier to deploy and manage multiple resources quickly and efficiently.&lt;/p&gt;

&lt;p&gt;Terraform also simplifies the process of upgrading and managing infrastructure over time, as you can easily apply changes to existing code or add new resources. With Terraform, businesses can build secure, reliable, and cost-effective cloud environments. &lt;/p&gt;

&lt;p&gt;It is a powerful tool for automating the management of your infrastructure while also improving its scalability, security, and cost-effectiveness. In short, Terraform is a powerful tool that helps businesses automate their infrastructure deployment and manage it reliably and cost-efficiently. &lt;/p&gt;

&lt;p&gt;Read More &lt;a href="https://www.bitslovers.com/terraform/" rel="noopener noreferrer"&gt;Why Terraform is an essential tool for devops engineers&lt;/a&gt;&lt;/p&gt;

</description>
      <category>support</category>
    </item>
    <item>
      <title>A Comprehensive Guide to Server-Side Encryption on Amazon S3</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Wed, 15 Feb 2023 23:49:03 +0000</pubDate>
      <link>https://forem.com/clebermasters/a-comprehensive-guide-to-server-side-encryption-on-amazon-s3-mm4</link>
      <guid>https://forem.com/clebermasters/a-comprehensive-guide-to-server-side-encryption-on-amazon-s3-mm4</guid>
      <description>&lt;p&gt;Server-side encryption on Amazon S3 enables you to store your data using server-side encryption securely. This feature encrypts the objects stored in your Amazon S3 buckets, providing an additional layer of security to help ensure the confidentiality of your data. This encryption helps protect against unauthorized access.&lt;/p&gt;

&lt;p&gt;Read More: &lt;a href="https://www.bitslovers.com/server-side-encryption-on-amazon-s3-a-comprehensive-guide/" rel="noopener noreferrer"&gt;Server-Side Encryption on Amazon S3&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Terraform Null Resource</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Sat, 12 Nov 2022 05:29:01 +0000</pubDate>
      <link>https://forem.com/clebermasters/terraform-null-resource-5d1i</link>
      <guid>https://forem.com/clebermasters/terraform-null-resource-5d1i</guid>
      <description>&lt;p&gt;Terraform Null Resource it’s one of the several features that Terraform provides us. Once you have learned how to use null_resource, it’s mind-blowing because you immediately visualize several possibilities to use it to resolve complex problems and provisioning your resources.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.bitslovers.com/terraform-null-resource/"&gt;Terraform Null Resource&lt;/a&gt;&lt;/p&gt;

</description>
      <category>terraform</category>
      <category>cloud</category>
      <category>tutorial</category>
      <category>devops</category>
    </item>
    <item>
      <title>2 Solutions for Unexpected token “u” in JSON at position 0</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Sat, 12 Nov 2022 05:23:32 +0000</pubDate>
      <link>https://forem.com/clebermasters/2-solutions-for-unexpected-token-u-in-json-at-position-0-2icf</link>
      <guid>https://forem.com/clebermasters/2-solutions-for-unexpected-token-u-in-json-at-position-0-2icf</guid>
      <description>&lt;h2&gt;
  
  
  2 Solutions for Unexpected token “u” in JSON at position 0
&lt;/h2&gt;

&lt;p&gt;The [Unexpected token u in JSON at position 0] error message happens when you see an undefined value to $.parseJSON or JSON.parse functions. To fix the problem, check the value you’re attempting to convert and ensure that the JSON is valid before converting it.&lt;/p&gt;

&lt;p&gt;Read: &lt;a href="https://www.bitslovers.com/2-solutions-for-unexpected-token-u-in-json-at-position-0/"&gt;Unexpected token “u” in JSON at position 0&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>AWS NAT GATEWAT</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Fri, 11 Nov 2022 03:22:10 +0000</pubDate>
      <link>https://forem.com/clebermasters/aws-nat-gatewat-n2e</link>
      <guid>https://forem.com/clebermasters/aws-nat-gatewat-n2e</guid>
      <description>&lt;h2&gt;
  
  
  AWS NAT Gateway - Your Definitive Guide
&lt;/h2&gt;

&lt;p&gt;AWS NAT Gateway is an important topic to understand regardless of your experience with AWS or any cloud provider. Any basic architecture is likely to use at least one NAT gateway.&lt;/p&gt;

&lt;p&gt;Learn More:&lt;br&gt;
&lt;a href="https://www.bitslovers.com/aws-nat-gateway/"&gt;AWS NAT Gateway&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>devops</category>
      <category>tutorial</category>
      <category>cloud</category>
    </item>
    <item>
      <title>AWS STS - Complete Guide</title>
      <dc:creator>Cleber Rodrigues</dc:creator>
      <pubDate>Wed, 26 Oct 2022 20:05:55 +0000</pubDate>
      <link>https://forem.com/clebermasters/aws-sts-complete-guide-33do</link>
      <guid>https://forem.com/clebermasters/aws-sts-complete-guide-33do</guid>
      <description>&lt;p&gt;&lt;a href="https://www.bitslovers.com/aws-sts/"&gt;AWS STS&lt;/a&gt; is an API that helps you to secure your AWS resources. This article will teach you everything you need about this service and why it’s crucial. Also, you will learn how AWS STS work.&lt;/p&gt;

&lt;p&gt;Learn More:&lt;br&gt;
&lt;a href="https://www.bitslovers.com/aws-sts/"&gt;https://www.bitslovers.com/aws-sts/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>devops</category>
      <category>cloud</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
