CI/CD is a DevOps practice that automates software development, testing, and deployment to ensure faster and reliable software releases. It consists of two main processes: 1. Continuous Integration (CI) Developers frequently merge code changes into a shared repository (e.g., GitHub, GitLab, Bitbucket). Each merge triggers automated builds and tests to detect bugs early. Goal: Ensure… Continue reading CI/CD (Continuous Integration & Continuous Deployment/Delivery)
Month: February 2025
Create Fulfillment in Shopify using GraphQL Mutation
A mutation is used to create fulfillment in Shopify using GraphQL. The data is passed as variables to the fulfillment orders object obtained for the order. Mutation: mutation fulfillmentCreate($input: FulfillmentInput!) { fulfillmentCreate(fulfillment: $input) { fulfillment { id status } userErrors { field message } } } Variable: { “input”: { “lineItemsByFulfillmentOrder”: [ { “fulfillmentOrderId”: “gid://shopify/FulfillmentOrder/${FULFILLMENT_ORDER_ID}”,… Continue reading Create Fulfillment in Shopify using GraphQL Mutation
Query to get Fulfillment Orders object in Shopify
In order to sync the item fulfillment details from NetSuite to Shopify, it is required to get the fulfillment orders object for the order in Shopify. Then, the line items in NetSuite are compared to the fulfillment orders object and update the quantity via mutation. Query: query getFulfillmentOrders($afterCursor: String) { order(id: “gid://shopify/Order/${ORDER_ID}”) { id fulfillmentOrders(first:… Continue reading Query to get Fulfillment Orders object in Shopify
How to Secure Your AWS EC2 Instances
Securing EC2 instances is crucial for protecting cloud applications. Key security best practices include: Use IAM Roles – Assign permissions to instances instead of embedding credentials. Enable Security Groups – Restrict inbound and outbound traffic using firewall rules. Keep Instances Updated – Regularly update OS and software to patch vulnerabilities. Encrypt Data – Use AWS… Continue reading How to Secure Your AWS EC2 Instances
Understanding AWS EC2 Pricing Models
AWS EC2 provides flexible pricing options to help businesses manage costs effectively. The key pricing models include: On-Demand Instances – Pay for compute capacity by the hour or second, ideal for short-term workloads. Reserved Instances (RI) – Commitment for 1 or 3 years with significant discounts, suitable for steady-state applications. Spot Instances – Use spare… Continue reading Understanding AWS EC2 Pricing Models
Choosing the Right AWS EC2 Instance Type
AWS EC2 offers a variety of instance types optimized for different workloads. The main categories include: General Purpose (T, M series) – Balanced performance for web applications and development environments. Compute Optimized (C series) – High-performance processors ideal for gaming and data analytics. Memory Optimized (R, X series) – Best for applications requiring large memory,… Continue reading Choosing the Right AWS EC2 Instance Type
Introduction to AWS EC2: A Beginner’s Guide
Amazon Elastic Compute Cloud (EC2) is a fundamental component of AWS, providing scalable and flexible virtual servers in the cloud. EC2 allows users to launch instances (virtual machines) with different configurations based on their computing needs. Users can choose instance types based on CPU, memory, and storage requirements. With EC2, businesses can deploy applications quickly… Continue reading Introduction to AWS EC2: A Beginner’s Guide
Error code Status in magento
In Magento, and more generally in web development, error codes like 400, 401, 403, and 404 represent HTTP status codes. Each of these codes indicates a different type of issue that occurred during a user’s request to a server or web page. Here’s a breakdown of these error codes and their meanings in the context… Continue reading Error code Status in magento
How to Add Quick Add Feature in Magento Checkout Cart
Steps to Add Quick Add Feature in Magento Checkout Cart: Prepare the Product Search by SKU: Create a search functionality that allows users to quickly search for a product by entering its SKU (Stock Keeping Unit). This will enable users to find specific products without browsing through categories. Modify Checkout Cart Page: Access the checkout… Continue reading How to Add Quick Add Feature in Magento Checkout Cart
Understanding Physics in Car Controls Using Three.js and Cannon.js
Introduction Creating realistic car physics in a 3D environment requires a combination of movement mechanics and a physics engine. In Three.js, we use Cannon.js to simulate forces, collisions, and realistic motion, making the car behave as it would in real life. This article explores how physics is applied to car controls using rigid bodies, forces,… Continue reading Understanding Physics in Car Controls Using Three.js and Cannon.js