{"id":368,"date":"2024-10-13T13:36:57","date_gmt":"2024-10-13T13:36:57","guid":{"rendered":"https:\/\/www.acugis.com\/gis-tutorials\/?page_id=368"},"modified":"2024-10-13T13:36:57","modified_gmt":"2024-10-13T13:36:57","slug":"geowebcache-s3-extension","status":"publish","type":"page","link":"https:\/\/www.acugis.com\/gis-tutorials\/geowebcache-s3-extension\/","title":{"rendered":"GeoWebCache s3 Extension"},"content":{"rendered":"\n<p>To enable GeoWebCache on s3 or s3 Compatible storage, follow below.<\/p>\n\n\n\n<p>Install the plugin to match your GeoServer version.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"431\" height=\"227\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blob-download.png\" alt=\"\" class=\"wp-image-373\" srcset=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blob-download.png 431w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blob-download-300x158.png 300w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/figure>\n\n\n\n<p>Unzip into your \/geoservr\/WEB-INF\/lib directory.  Restart Tomcat to register plugin.<\/p>\n\n\n\n<p>Go to Tile Caching and click the BlobStores link:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"479\" height=\"175\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobsotre-1.png\" alt=\"\" class=\"wp-image-369\" srcset=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobsotre-1.png 479w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobsotre-1-300x110.png 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/figure>\n\n\n\n<p>Click the Add New link:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"385\" height=\"139\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobsotre-2.png\" alt=\"\" class=\"wp-image-370\" srcset=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobsotre-2.png 385w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobsotre-2-300x108.png 300w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/figure>\n\n\n\n<p>Under Type of BlobStore, select &#8216;S3 BlobStore&#8217; from dropdown:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"390\" height=\"258\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobsotre-3.png\" alt=\"\" class=\"wp-image-371\" srcset=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobsotre-3.png 390w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobsotre-3-300x198.png 300w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><\/figure>\n\n\n\n<p>Populate the required fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Identifier:  A unique identifier for the BlobStore. <\/li>\n\n\n\n<li>Bucket:  An empty bucket.  If bucket does not exist, it will be created.<\/li>\n\n\n\n<li>AWS Access Key<\/li>\n\n\n\n<li>AWS Secret Key<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"785\" height=\"903\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/aws-blobstore-fields.png\" alt=\"\" class=\"wp-image-387\" srcset=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/aws-blobstore-fields.png 785w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/aws-blobstore-fields-261x300.png 261w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/aws-blobstore-fields-768x883.png 768w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>Click Save<\/p>\n\n\n\n<p>You should now see the BlobStore listed:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"236\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobstore-created-1024x236.png\" alt=\"\" class=\"wp-image-379\" srcset=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobstore-created-1024x236.png 1024w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobstore-created-300x69.png 300w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobstore-created-768x177.png 768w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blobstore-created.png 1039w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>Navigate to Layer you wish to cache on s3<\/p>\n\n\n\n<p>Under BlobStore, select the BlobStore you created above from the dropdown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"609\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blob-select.png\" alt=\"\" class=\"wp-image-380\" srcset=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blob-select.png 611w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blob-select-300x300.png 300w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blob-select-150x150.png 150w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-blob-select-100x100.png 100w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/figure>\n\n\n\n<p>Click Save.<\/p>\n\n\n\n<p>You can now seed the layer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"996\" height=\"64\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/blob-seed.png\" alt=\"\" class=\"wp-image-381\" srcset=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/blob-seed.png 996w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/blob-seed-300x19.png 300w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/blob-seed-768x49.png 768w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>Once completed, check in your AWS Console that the layer has been seeded:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"371\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-verify-seeding-1024x371.png\" alt=\"\" class=\"wp-image-382\" srcset=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-verify-seeding-1024x371.png 1024w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-verify-seeding-300x109.png 300w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-verify-seeding-768x278.png 768w, https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/s3-verify-seeding.png 1408w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>Congratulations.  You created an s3 BlobStore and your layer is now being cached to s3.<\/p>\n\n\n\n<p>The same procedure can be used for any s3-compatible storage such as <a href=\"https:\/\/www.digitalocean.com\/products\/spaces\" target=\"_blank\" rel=\"noreferrer noopener\">DigitalOcean Spaces<\/a>, Minio, etc&#8230;<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To enable GeoWebCache on s3 or s3 Compatible storage, follow below. Install the plugin to match your GeoServer version. Unzip into your \/geoservr\/WEB-INF\/lib directory. Restart Tomcat to register plugin. Go to Tile Caching and click the BlobStores link: Click the Add New link: Under Type of BlobStore, select &#8216;S3 BlobStore&#8217; from dropdown: Populate the required &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.acugis.com\/gis-tutorials\/geowebcache-s3-extension\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;GeoWebCache s3 Extension&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-368","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/pages\/368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":7,"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/pages\/368\/revisions"}],"predecessor-version":[{"id":388,"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/pages\/368\/revisions\/388"}],"wp:attachment":[{"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/media?parent=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}