All posts by Pramod T P

General purpose instances

General purpose instances are the most basic type of instances. They provide a balance of compute, memory, and networking resources, and can be used for a variety of workloads. Since you are requiring higher read and write capacity, storage optimized instances should be selected instead.

Cross-Origin Resource Sharing

Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell browsers to give a web application running at one origin, access to selected resources from a different origin. A web application executes a cross-origin HTTP request when it requests a resource that has a different origin (domain, protocol, or port) from its own.

magento 2 enterprise admin showing blank page

This is Magento bug. Wrong paths to Windows are generated. The fixed fix is

Magento 2.3.0 – 2.3.3

#/vendor/magento/framework/View/Element/Template/File/Validator.php:140
the string

if (0 === strpos($realPath, $directory)) {
return true;
}
to replace

$realDirectory = $this->fileDriver->getRealPath($directory);
if ($realDirectory && 0 === strpos($realPath, $realDirectory)) {
return true;
}

Size of a Directory

The du command displays the amount of file space used by the specified files or directories. If the specified path is a directory, du summarizes disk usage of each subdirectory in that directory. If no path is specified, du reports the disk usage of the current working directory .

sudo du -sh /var