Skip to content

Instantly share code, notes, and snippets.

View Viyaan's full-sized avatar

Viyaan Jhiingade Viyaan

View GitHub Profile
sudo yum install -y gcc
wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz
cd redis-stable
make
// In case of exception in above make command
cd deps
make hiredis jemalloc linenoise lua geohash-int
cd ..
make install
@Viyaan
Viyaan / application.properties
Created October 27, 2020 14:37
These properties file is used in spring boot application while integrating with secrets manager
cloud.aws.region.auto=false
cloud.aws.region.static=us-east-1
cloud.aws.stack.auto=false
spring.autoconfigure.exclude=org.springframework.cloud.aws.autoconfigure.context.ContextInstanceDataAutoConfiguration,\
 org.springframework.cloud.aws.autoconfigure.context.ContextCredentialsAutoConfiguration,\
 org.springframework.cloud.aws.autoconfigure.context.ContextRegionProviderAutoConfiguration,\
 org.springframework.cloud.aws.autoconfigure.context.ContextResourceLoaderAutoConfiguration,\
 org.springframework.cloud.aws.autoconfigure.context.ContextStackAutoConfiguration,\
 org.springframework.cloud.aws.autoconfigure.mail.MailSenderAutoConfiguration,\
 org.springframework.cloud.aws.autoconfigure.cache.ElastiCacheAutoConfiguration,\
@Viyaan
Viyaan / bootstrap.yml
Created October 27, 2020 14:43
Bootstrap yaml properties to connect to secrets manager
aws:
secretsmanager:
default-context: application
prefix: /bytenovus/sm
profile-separator: _
fail-fast: true
name: ByteNovusapplication
enabled: true